diff options
author | Vitalik Buterin <v@buterin.com> | 2015-07-02 17:27:31 +0800 |
---|---|---|
committer | Vitalik Buterin <v@buterin.com> | 2015-07-02 17:27:31 +0800 |
commit | 9f6016e8773f951c5b81b30c0257350e2a9c8e5f (patch) | |
tree | 5ffec7e645dda2d79af1b011c2e03b213bef2435 /core | |
parent | 744af9f497d25b55246695dec831eb9345401984 (diff) | |
parent | 75f41dedcab63e23ab9c58dcda3da02e3dbb29cb (diff) | |
download | dexon-9f6016e8773f951c5b81b30c0257350e2a9c8e5f.tar dexon-9f6016e8773f951c5b81b30c0257350e2a9c8e5f.tar.gz dexon-9f6016e8773f951c5b81b30c0257350e2a9c8e5f.tar.bz2 dexon-9f6016e8773f951c5b81b30c0257350e2a9c8e5f.tar.lz dexon-9f6016e8773f951c5b81b30c0257350e2a9c8e5f.tar.xz dexon-9f6016e8773f951c5b81b30c0257350e2a9c8e5f.tar.zst dexon-9f6016e8773f951c5b81b30c0257350e2a9c8e5f.zip |
Merge branch 'develop' of github.com:ethereum/go-ethereum into develop
Diffstat (limited to 'core')
-rw-r--r-- | core/state_transition.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/state_transition.go b/core/state_transition.go index e2212dfef..5611ffd0f 100644 --- a/core/state_transition.go +++ b/core/state_transition.go @@ -7,7 +7,6 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/state" "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/logger" "github.com/ethereum/go-ethereum/logger/glog" "github.com/ethereum/go-ethereum/params" @@ -56,11 +55,6 @@ type Message interface { Data() []byte } -func AddressFromMessage(msg Message) common.Address { - from, _ := msg.From() - return crypto.CreateAddress(from, msg.Nonce()) -} - func MessageCreatesContract(msg Message) bool { return msg.To() == nil } |