diff --git a/mist/assets/qml/views/chain.qml b/mist/assets/qml/views/chain.qml index 454fafef65fd..93bff2d97390 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)