From 9797db361e06107a2ce7bfe66791eac072da5ef5 Mon Sep 17 00:00:00 2001 From: pbca26 Date: Tue, 23 Jan 2018 13:38:42 +0300 Subject: [PATCH] no valid utxo fix --- react/src/components/dashboard/sendCoin/sendCoin.render.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/react/src/components/dashboard/sendCoin/sendCoin.render.js b/react/src/components/dashboard/sendCoin/sendCoin.render.js index 010e98e..84e5d40 100644 --- a/react/src/components/dashboard/sendCoin/sendCoin.render.js +++ b/react/src/components/dashboard/sendCoin/sendCoin.render.js @@ -353,7 +353,9 @@ export const SendRender = function() { this.state.lastSendToResponse.raw.txid &&
{ this.state.lastSendToResponse.raw.txid.replace(/\[.*\]/, '') }
} - { this.state.lastSendToResponse.raw.txid.indexOf('bad-txns-inputs-spent') > -1 && + { this.state.lastSendToResponse.raw && + this.state.lastSendToResponse.raw.txid && + this.state.lastSendToResponse.raw.txid.indexOf('bad-txns-inputs-spent') > -1 &&
{ translate('SEND.BAD_TXN_SPENT_ERR1') }