aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/conf-tx.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-08-25 06:40:40 +0800
committerDan Finlay <dan@danfinlay.com>2016-08-25 06:40:40 +0800
commit4f78ae56b279e3b853f99888cd45922cf3cf013a (patch)
tree5fe876e134a40f9e0946a69a9d932a4b41bb0c3d /ui/app/conf-tx.js
parent0fd955d63615245343747c9a72b73ac88ddb4876 (diff)
downloadtangerine-wallet-browser-4f78ae56b279e3b853f99888cd45922cf3cf013a.tar
tangerine-wallet-browser-4f78ae56b279e3b853f99888cd45922cf3cf013a.tar.gz
tangerine-wallet-browser-4f78ae56b279e3b853f99888cd45922cf3cf013a.tar.bz2
tangerine-wallet-browser-4f78ae56b279e3b853f99888cd45922cf3cf013a.tar.lz
tangerine-wallet-browser-4f78ae56b279e3b853f99888cd45922cf3cf013a.tar.xz
tangerine-wallet-browser-4f78ae56b279e3b853f99888cd45922cf3cf013a.tar.zst
tangerine-wallet-browser-4f78ae56b279e3b853f99888cd45922cf3cf013a.zip
Fix empty sign message bug
Diffstat (limited to 'ui/app/conf-tx.js')
-rw-r--r--ui/app/conf-tx.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/conf-tx.js b/ui/app/conf-tx.js
index db876dd9b..43604e8cf 100644
--- a/ui/app/conf-tx.js
+++ b/ui/app/conf-tx.js
@@ -35,7 +35,7 @@ ConfirmTxScreen.prototype.render = function () {
var unconfMsgs = state.unconfMsgs
var unconfTxList = txHelper(unconfTxs, unconfMsgs)
var index = state.index !== undefined ? state.index : 0
- var txData = unconfTxList[index] || {}
+ var txData = unconfTxList[index] || unconfTxList[0] || {}
return (