Skip to content

Commit

Permalink
Debug only if a tx is set. Fixes #134
Browse files Browse the repository at this point in the history
  • Loading branch information
obscuren committed Oct 22, 2014
1 parent 6f08e30 commit ce05634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mist/assets/qml/views/chain.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ce05634

Please sign in to comment.