Added hex script method
This commit is contained in:
		@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user