diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-04 18:40:20 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-04 18:40:20 +0800 |
commit | f298ffdbb8ec2b14f254e880a65f22f4d7c66305 (patch) | |
tree | 59b0edc06529785afef7c103e9bdbd4248ec58da /core/types/transaction.go | |
parent | 3664cd58e3631fccf4d9aba1932e0bb63ad442a6 (diff) | |
download | go-tangerine-f298ffdbb8ec2b14f254e880a65f22f4d7c66305.tar go-tangerine-f298ffdbb8ec2b14f254e880a65f22f4d7c66305.tar.gz go-tangerine-f298ffdbb8ec2b14f254e880a65f22f4d7c66305.tar.bz2 go-tangerine-f298ffdbb8ec2b14f254e880a65f22f4d7c66305.tar.lz go-tangerine-f298ffdbb8ec2b14f254e880a65f22f4d7c66305.tar.xz go-tangerine-f298ffdbb8ec2b14f254e880a65f22f4d7c66305.tar.zst go-tangerine-f298ffdbb8ec2b14f254e880a65f22f4d7c66305.zip |
Renamed State => StateDB
Diffstat (limited to 'core/types/transaction.go')
-rw-r--r-- | core/types/transaction.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/types/transaction.go b/core/types/transaction.go index efc90b6f2..63edef756 100644 --- a/core/types/transaction.go +++ b/core/types/transaction.go @@ -77,7 +77,7 @@ func (tx *Transaction) IsContract() bool { return tx.CreatesContract() } -func (tx *Transaction) CreationAddress(state *state.State) []byte { +func (tx *Transaction) CreationAddress(state *state.StateDB) []byte { // Generate a new address return crypto.Sha3(ethutil.NewValue([]interface{}{tx.Sender(), tx.Nonce}).Encode())[12:] } |