diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-17 18:19:23 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-17 18:19:23 +0800 |
commit | 515d9432fcef8c574627049d437d6898b56c2829 (patch) | |
tree | 40322c532a38b8f563d452bd75dab69729e55d92 /vm/environment.go | |
parent | 8ce6a3647821706cf5e9bb1a9dc13f23c84f6585 (diff) | |
download | go-tangerine-515d9432fcef8c574627049d437d6898b56c2829.tar go-tangerine-515d9432fcef8c574627049d437d6898b56c2829.tar.gz go-tangerine-515d9432fcef8c574627049d437d6898b56c2829.tar.bz2 go-tangerine-515d9432fcef8c574627049d437d6898b56c2829.tar.lz go-tangerine-515d9432fcef8c574627049d437d6898b56c2829.tar.xz go-tangerine-515d9432fcef8c574627049d437d6898b56c2829.tar.zst go-tangerine-515d9432fcef8c574627049d437d6898b56c2829.zip |
converted vm
Diffstat (limited to 'vm/environment.go')
-rw-r--r-- | vm/environment.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vm/environment.go b/vm/environment.go index 9de2fd80a..6976d6749 100644 --- a/vm/environment.go +++ b/vm/environment.go @@ -16,8 +16,8 @@ type Environment interface { Origin() common.Address BlockNumber() *big.Int - GetHash(n uint64) []byte - Coinbase() []byte + GetHash(n uint64) common.Hash + Coinbase() common.Address Time() int64 Difficulty() *big.Int GasLimit() *big.Int @@ -38,7 +38,7 @@ type Account interface { SubBalance(amount *big.Int) AddBalance(amount *big.Int) Balance() *big.Int - Address() []byte + Address() common.Address } // generic transfer method |