aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/send.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-05-20 07:14:16 +0800
committerDan Finlay <dan@danfinlay.com>2016-05-20 07:14:16 +0800
commit47540ad0b3c92df8061bb9c73159670ca2bc03ba (patch)
treef83f8d7648dc95c36e0292e92a50a55c4fa053ed /ui/app/send.js
parent60270de53d214edffad7b90356bbe06081a55443 (diff)
downloadtangerine-wallet-browser-47540ad0b3c92df8061bb9c73159670ca2bc03ba.tar.gz
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.js2
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))