aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-07-02 17:19:10 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-07-02 17:19:10 +0800
commit529fb7a7d76e4c98f825bfcb9f3c1fb40b1d0d1e (patch)
tree11fc2831c6305a7b06980139cee3259297921efa /core
parentbb418a43c1b9ebf9a32006652b405f8e1cb3acd2 (diff)
downloadgo-tangerine-529fb7a7d76e4c98f825bfcb9f3c1fb40b1d0d1e.tar.gz
go-tangerine-529fb7a7d76e4c98f825bfcb9f3c1fb40b1d0d1e.tar.zst
go-tangerine-529fb7a7d76e4c98f825bfcb9f3c1fb40b1d0d1e.zip
core, xeth: core.AddressFromMessage removed => crypto.CreateAddress
Diffstat (limited to 'core')
-rw-r--r--core/state_transition.go6
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
}