diff options
Diffstat (limited to 'vm/environment.go')
-rw-r--r-- | vm/environment.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vm/environment.go b/vm/environment.go index 5b4d6c8f0..69832241f 100644 --- a/vm/environment.go +++ b/vm/environment.go @@ -36,10 +36,12 @@ type Account interface { SubBalance(amount *big.Int) AddBalance(amount *big.Int) Balance() *big.Int + Address() []byte } // generic transfer method func Transfer(from, to Account, amount *big.Int) error { + //fmt.Printf(":::%x::: %v < %v\n", from.Address(), from.Balance(), amount) if from.Balance().Cmp(amount) < 0 { return errors.New("Insufficient balance in account") } |