mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 19:00:46 +00:00
Add 0x when feeding data to debugger
This commit is contained in:
parent
06d41794f9
commit
44db1a1eb2
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ func (self *UiLib) StartDbWithContractAndData(contractHash, data string) {
|
||||||
if len(object.Script()) > 0 {
|
if len(object.Script()) > 0 {
|
||||||
dbWindow.SetCode("0x" + ethutil.Hex(object.Script()))
|
dbWindow.SetCode("0x" + ethutil.Hex(object.Script()))
|
||||||
}
|
}
|
||||||
dbWindow.SetData(data)
|
dbWindow.SetData("0x" + data)
|
||||||
|
|
||||||
dbWindow.Show()
|
dbWindow.Show()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue