Updated plugins/wrappers/wrappers.go to include code and input fields on utils core.interface contract object. Also mod and sum to reflect utils v0.0.12
This commit is contained in:
@@ -59,6 +59,14 @@ func (w *WrappedContract) Value() *big.Int {
|
||||
return w.c.Value()
|
||||
}
|
||||
|
||||
func (w *WrappedContract) Input() []byte {
|
||||
return w.c.Input
|
||||
}
|
||||
|
||||
func (w *WrappedContract) Code() []byte {
|
||||
return w.c.Code
|
||||
}
|
||||
|
||||
// added UseGas bc compiler compained without it. Should investigate if the false return with effect performance.
|
||||
// take this out of core.interface
|
||||
func (w *WrappedContract) UseGas(gas uint64) (ok bool) {
|
||||
|
||||
Reference in New Issue
Block a user