diff options
-rw-r--r-- | mist/assets/qml/views/chain.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mist/assets/qml/views/chain.qml b/mist/assets/qml/views/chain.qml index 5bfc4b6c7..130ff8bb9 100644 --- a/mist/assets/qml/views/chain.qml +++ b/mist/assets/qml/views/chain.qml @@ -248,7 +248,7 @@ Rectangle { for(var i = 0; i < block.txs.length; i++) { transactionModel.insert(0, block.txs.get(i)) } - if(block.txs.get(0).data){ + if(block.txs.length > 0 && block.txs.get(0).data){ popup.showContractData(block.txs.get(0)) } } |