mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-04-07 02:17:29 +00:00
Added hex script method
This commit is contained in:
parent
842d52db7b
commit
8c96c5662f
1 changed files with 8 additions and 0 deletions
|
|
@ -244,6 +244,14 @@ func (c *PStateObject) Script() string {
|
|||
return ""
|
||||
}
|
||||
|
||||
func (c *PStateObject) HexScript() string {
|
||||
if c.object != nil {
|
||||
return ethutil.Hex(c.object.Script())
|
||||
}
|
||||
|
||||
return ""
|
||||
}
|
||||
|
||||
type PStorageState struct {
|
||||
StateAddress string
|
||||
Address string
|
||||
|
|
|
|||
Loading…
Reference in a new issue