From ce05634f383dbda0c5b26ff80e95a53647a17886 Mon Sep 17 00:00:00 2001 From: obscuren Date: Wed, 22 Oct 2014 11:11:12 +0200 Subject: [PATCH] Debug only if a tx is set. Fixes #134 --- mist/assets/qml/views/chain.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mist/assets/qml/views/chain.qml b/mist/assets/qml/views/chain.qml index 454fafef65..93bff2d973 100644 --- a/mist/assets/qml/views/chain.qml +++ b/mist/assets/qml/views/chain.qml @@ -210,7 +210,7 @@ Rectangle { anchors.topMargin: 10 text: "Debug contract" onClicked: { - if(tx.createsContract){ + if(tx && tx.createsContract){ eth.startDbWithCode(tx.rawData) }else { eth.startDbWithContractAndData(tx.address, tx.rawData)