Added hex script method

This commit is contained in:
obscuren 2014-06-23 11:24:07 +02:00
parent 842d52db7b
commit 8c96c5662f

View File

@ -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