diff options
author | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-07-19 02:13:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-19 02:13:21 +0800 |
commit | 76ac6bbb30387a7e6314e120978713f4b3cf5a9c (patch) | |
tree | b7d9779bb09c1015fb01ded3d3be336880295f92 /ui/app/components/send/send-footer/send-footer.component.js | |
parent | f6ca06f775a739c8b449405c5e96b03151a6a33c (diff) | |
parent | da1f6e061d6b8e9352b343516c8b38e67253fcd4 (diff) | |
download | tangerine-wallet-browser-76ac6bbb30387a7e6314e120978713f4b3cf5a9c.tar.gz tangerine-wallet-browser-76ac6bbb30387a7e6314e120978713f4b3cf5a9c.tar.zst tangerine-wallet-browser-76ac6bbb30387a7e6314e120978713f4b3cf5a9c.zip |
Merge pull request #4814 from whymarrh/send-data
Add hex data input to send screen
Diffstat (limited to 'ui/app/components/send/send-footer/send-footer.component.js')
-rw-r--r-- | ui/app/components/send/send-footer/send-footer.component.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/app/components/send/send-footer/send-footer.component.js b/ui/app/components/send/send-footer/send-footer.component.js index 2085f1dce..518cff06e 100644 --- a/ui/app/components/send/send-footer/send-footer.component.js +++ b/ui/app/components/send/send-footer/send-footer.component.js @@ -8,6 +8,7 @@ export default class SendFooter extends Component { static propTypes = { addToAddressBookIfNew: PropTypes.func, amount: PropTypes.string, + data: PropTypes.string, clearSend: PropTypes.func, disabled: PropTypes.bool, editingTransactionId: PropTypes.string, @@ -41,6 +42,7 @@ export default class SendFooter extends Component { const { addToAddressBookIfNew, amount, + data, editingTransactionId, from: {address: from}, gasLimit: gas, @@ -68,6 +70,7 @@ export default class SendFooter extends Component { const promise = editingTransactionId ? update({ amount, + data, editingTransactionId, from, gas, @@ -76,7 +79,7 @@ export default class SendFooter extends Component { to, unapprovedTxs, }) - : sign({ selectedToken, to, amount, from, gas, gasPrice }) + : sign({ data, selectedToken, to, amount, from, gas, gasPrice }) Promise.resolve(promise) .then(() => history.push(CONFIRM_TRANSACTION_ROUTE)) |