Commit 8c96c566 authored by obscuren's avatar obscuren

Added hex script method

parent 842d52db
...@@ -244,6 +244,14 @@ func (c *PStateObject) Script() string { ...@@ -244,6 +244,14 @@ func (c *PStateObject) Script() string {
return "" return ""
} }
func (c *PStateObject) HexScript() string {
if c.object != nil {
return ethutil.Hex(c.object.Script())
}
return ""
}
type PStorageState struct { type PStorageState struct {
StateAddress string StateAddress string
Address string Address string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment