aboutsummaryrefslogtreecommitdiffstats
path: root/core/types/transaction.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-04 18:40:20 +0800
committerobscuren <geffobscura@gmail.com>2014-12-04 18:40:20 +0800
commitf298ffdbb8ec2b14f254e880a65f22f4d7c66305 (patch)
tree59b0edc06529785afef7c103e9bdbd4248ec58da /core/types/transaction.go
parent3664cd58e3631fccf4d9aba1932e0bb63ad442a6 (diff)
downloadgo-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.go2
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:]
}