From 4f78ae56b279e3b853f99888cd45922cf3cf013a Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Wed, 24 Aug 2016 15:40:40 -0700 Subject: [PATCH] Fix empty sign message bug --- ui/app/conf-tx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (