diff options
author | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-07-17 23:11:43 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-07-18 20:28:12 +0800 |
commit | 346505cab0af1b685f6295f8253f04f39cf31b01 (patch) | |
tree | c3bd1bb6cc2a2eaf7d632829045116ae50bd056c /ui/app | |
parent | fb672e00df949da67266946d433c40cbbaf7d145 (diff) | |
download | tangerine-wallet-browser-346505cab0af1b685f6295f8253f04f39cf31b01.tar tangerine-wallet-browser-346505cab0af1b685f6295f8253f04f39cf31b01.tar.gz tangerine-wallet-browser-346505cab0af1b685f6295f8253f04f39cf31b01.tar.bz2 tangerine-wallet-browser-346505cab0af1b685f6295f8253f04f39cf31b01.tar.lz tangerine-wallet-browser-346505cab0af1b685f6295f8253f04f39cf31b01.tar.xz tangerine-wallet-browser-346505cab0af1b685f6295f8253f04f39cf31b01.tar.zst tangerine-wallet-browser-346505cab0af1b685f6295f8253f04f39cf31b01.zip |
Inline single-use vars in send-footer.utils
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/components/send/send-footer/send-footer.utils.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/app/components/send/send-footer/send-footer.utils.js b/ui/app/components/send/send-footer/send-footer.utils.js index c75433e1d..f82ff1e9b 100644 --- a/ui/app/components/send/send-footer/send-footer.utils.js +++ b/ui/app/components/send/send-footer/send-footer.utils.js @@ -22,9 +22,7 @@ function constructTxParams ({ selectedToken, data, to, amount, from, gas, gasPri txParams.to = to } - const hexPrefixedTxParams = addHexPrefixToObjectValues(txParams) - - return hexPrefixedTxParams + return addHexPrefixToObjectValues(txParams) } function constructUpdatedTx ({ |