From 346505cab0af1b685f6295f8253f04f39cf31b01 Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Tue, 17 Jul 2018 12:41:43 -0230 Subject: Inline single-use vars in send-footer.utils --- ui/app/components/send/send-footer/send-footer.utils.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ui/app/components/send') 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 ({ -- cgit