Use correct var name in new-ui showRetryButton

feature/default_network_editable
Dan 7 years ago
parent 8c7988978f
commit 46ded45b81
  1. 2
      ui/app/components/tx-list-item.js

@ -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…
Cancel
Save