mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Use correct var name in new-ui showRetryButton
This commit is contained in:
parent
8c7988978f
commit
46ded45b81
@ -190,7 +190,7 @@ TxListItem.prototype.showRetryButton = function () {
|
|||||||
const currentTxIsLatestWithNonce = lastSubmittedTxWithCurrentNonce
|
const currentTxIsLatestWithNonce = lastSubmittedTxWithCurrentNonce
|
||||||
&& lastSubmittedTxWithCurrentNonce.id === transactionId
|
&& lastSubmittedTxWithCurrentNonce.id === transactionId
|
||||||
|
|
||||||
return currentTxIsLatestWithNonce && Date.now() - submittedTime > 30000
|
return currentTxIsLatestWithNonce && Date.now() - transactionSubmittedTime > 30000
|
||||||
}
|
}
|
||||||
|
|
||||||
TxListItem.prototype.resubmit = function () {
|
TxListItem.prototype.resubmit = function () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user