aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/send-v2.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-09 11:49:26 +0800
committerDan <danjm.com@gmail.com>2018-03-09 11:49:26 +0800
commit5433d2fe3a3f48948449258b03ae431fe81b8cf2 (patch)
treee71cc3b9969f0a57032a798a54305d564e9c15bc /ui/app/send-v2.js
parent6cee76b3e797dd302c1bf97d7799567a366b2004 (diff)
downloadtangerine-wallet-browser-5433d2fe3a3f48948449258b03ae431fe81b8cf2.tar
tangerine-wallet-browser-5433d2fe3a3f48948449258b03ae431fe81b8cf2.tar.gz
tangerine-wallet-browser-5433d2fe3a3f48948449258b03ae431fe81b8cf2.tar.bz2
tangerine-wallet-browser-5433d2fe3a3f48948449258b03ae431fe81b8cf2.tar.lz
tangerine-wallet-browser-5433d2fe3a3f48948449258b03ae431fe81b8cf2.tar.xz
tangerine-wallet-browser-5433d2fe3a3f48948449258b03ae431fe81b8cf2.tar.zst
tangerine-wallet-browser-5433d2fe3a3f48948449258b03ae431fe81b8cf2.zip
Retry transaction logic added to tx-list-item, confirm-send-ether, customize-gas-modal, and dependents.
Diffstat (limited to 'ui/app/send-v2.js')
-rw-r--r--ui/app/send-v2.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/app/send-v2.js b/ui/app/send-v2.js
index 1d67150e3..edb6bc41d 100644
--- a/ui/app/send-v2.js
+++ b/ui/app/send-v2.js
@@ -543,6 +543,7 @@ SendTransactionScreen.prototype.getEditedTx = function () {
selectedToken,
editingTransactionId,
unapprovedTxs,
+ nonce,
} = this.props
const editingTx = {
@@ -554,6 +555,10 @@ SendTransactionScreen.prototype.getEditedTx = function () {
},
}
+ if (nonce) {
+ editingTx.txParams.nonce = ethUtil.addHexPrefix(nonce)
+ }
+
if (selectedToken) {
const data = TOKEN_TRANSFER_FUNCTION_SIGNATURE + Array.prototype.map.call(
ethAbi.rawEncode(['address', 'uint256'], [to, ethUtil.addHexPrefix(amount)]),