diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-05-20 07:14:16 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-05-20 07:14:16 +0800 |
commit | 47540ad0b3c92df8061bb9c73159670ca2bc03ba (patch) | |
tree | f83f8d7648dc95c36e0292e92a50a55c4fa053ed /ui/app/send.js | |
parent | 60270de53d214edffad7b90356bbe06081a55443 (diff) | |
download | tangerine-wallet-browser-47540ad0b3c92df8061bb9c73159670ca2bc03ba.tar tangerine-wallet-browser-47540ad0b3c92df8061bb9c73159670ca2bc03ba.tar.gz tangerine-wallet-browser-47540ad0b3c92df8061bb9c73159670ca2bc03ba.tar.bz2 tangerine-wallet-browser-47540ad0b3c92df8061bb9c73159670ca2bc03ba.tar.lz tangerine-wallet-browser-47540ad0b3c92df8061bb9c73159670ca2bc03ba.tar.xz tangerine-wallet-browser-47540ad0b3c92df8061bb9c73159670ca2bc03ba.tar.zst tangerine-wallet-browser-47540ad0b3c92df8061bb9c73159670ca2bc03ba.zip |
Allow empty recipient fields on tx
Diffstat (limited to 'ui/app/send.js')
-rw-r--r-- | ui/app/send.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/send.js b/ui/app/send.js index 926c3e29a..ba4e5bfff 100644 --- a/ui/app/send.js +++ b/ui/app/send.js @@ -228,11 +228,11 @@ SendTransactionScreen.prototype.onSubmit = function() { this.props.dispatch(actions.showLoadingIndication()) var txParams = { - to: recipient, from: this.props.address, value: '0x' + value.toString(16), } + if (recipient) txParams.to = ethUtil.addHexPrefix(recipient) if (txData) txParams.data = txData this.props.dispatch(actions.signTx(txParams)) |