fix #1888 ether amount not updated in /send suggestion if it was init… (#1904)

* fix #1888 ether amount not updated in /send suggestion if it was initially undefined

* dummy change to trigger jenkins rebuild

* another dummy commit to trigger jenkins build
This commit is contained in:
Goran Jović 2017-09-25 19:56:24 +02:00 committed by Roman Volosovskyi
parent 3f2416fafd
commit 465b4eef9c
1 changed files with 2 additions and 1 deletions

View File

@ -51,8 +51,9 @@ function amountParameterBox(params, context) {
var txData;
var amount;
try {
amount = params.args[1];
amount = params.args[1] || "0";
txData = {
to: contactAddress,
value: web3.toWei(amount) || 0