From 8d40bca371ae1d50b6d48def696fd54cad73c045 Mon Sep 17 00:00:00 2001 From: Satinder Grewal Date: Thu, 1 Sep 2016 02:01:31 +1200 Subject: [PATCH] fixed sendtoaddress response dialog --- assets/scripts/coinwallets.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/scripts/coinwallets.js b/assets/scripts/coinwallets.js index b549cf2..8371896 100644 --- a/assets/scripts/coinwallets.js +++ b/assets/scripts/coinwallets.js @@ -234,7 +234,8 @@ function ExecuteSendCurrencyAPI() { console.log(SendToAddrData); if ( SendToAddrData.error != 'couldnt create rawtx' ) { var SendToAddrTxDataTitle = "Transaction Failed"; - } else { + } + if ( SendToAddrData.sendrawtransaction == 'success' ) { var SendToAddrTxDataTitle = "Transaction Successful"; } var SentToAddrTxData = "Transaction ID: "+SendToAddrData.result+"";