mirror of https://github.com/status-im/op-geth.git
Debug only if a tx is set. Fixes #134
This commit is contained in:
parent
6f08e30109
commit
ce05634f38
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue