mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-18 05:56:37 +00:00
Debug only if a tx is set. Fixes #134
This commit is contained in:
parent
6f08e30109
commit
ce05634f38
1 changed files with 1 additions and 1 deletions
|
|
@ -210,7 +210,7 @@ Rectangle {
|
||||||
anchors.topMargin: 10
|
anchors.topMargin: 10
|
||||||
text: "Debug contract"
|
text: "Debug contract"
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if(tx.createsContract){
|
if(tx && tx.createsContract){
|
||||||
eth.startDbWithCode(tx.rawData)
|
eth.startDbWithCode(tx.rawData)
|
||||||
}else {
|
}else {
|
||||||
eth.startDbWithContractAndData(tx.address, tx.rawData)
|
eth.startDbWithContractAndData(tx.address, tx.rawData)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue