aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2016-02-19 21:41:57 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2016-02-19 21:41:57 +0800
commitf8d98f7fcd08bd2eff36d5366ac2a14b52255d57 (patch)
tree99111d4f80ee4c436c99813ef8ffe7a7b16ee8ce /common
parentc305005d831eccf9d65c7b55f817390d2334e666 (diff)
parent5b283663b40dbc06c56cc481ef90f4365ab85724 (diff)
downloaddexon-f8d98f7fcd08bd2eff36d5366ac2a14b52255d57.tar
dexon-f8d98f7fcd08bd2eff36d5366ac2a14b52255d57.tar.gz
dexon-f8d98f7fcd08bd2eff36d5366ac2a14b52255d57.tar.bz2
dexon-f8d98f7fcd08bd2eff36d5366ac2a14b52255d57.tar.lz
dexon-f8d98f7fcd08bd2eff36d5366ac2a14b52255d57.tar.xz
dexon-f8d98f7fcd08bd2eff36d5366ac2a14b52255d57.tar.zst
dexon-f8d98f7fcd08bd2eff36d5366ac2a14b52255d57.zip
Merge pull request #2116 from obscuren/homestead
core, core/vm: consensus changes necessary for the homestead release
Diffstat (limited to 'common')
-rw-r--r--common/registrar/ethreg/api.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/registrar/ethreg/api.go b/common/registrar/ethreg/api.go
index 92e885b10..1ba422c4d 100644
--- a/common/registrar/ethreg/api.go
+++ b/common/registrar/ethreg/api.go
@@ -23,6 +23,7 @@ import (
"github.com/ethereum/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/compiler"
+ "github.com/ethereum/go-ethereum/common/registrar"
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/core/state"
"github.com/ethereum/go-ethereum/core/types"
@@ -30,7 +31,6 @@ import (
"github.com/ethereum/go-ethereum/ethdb"
"github.com/ethereum/go-ethereum/logger"
"github.com/ethereum/go-ethereum/logger/glog"
- "github.com/ethereum/go-ethereum/common/registrar"
)
// registryAPIBackend is a backend for an Ethereum Registry.
@@ -112,6 +112,9 @@ type callmsg struct {
func (m callmsg) From() (common.Address, error) {
return m.from.Address(), nil
}
+func (m callmsg) FromFrontier() (common.Address, error) {
+ return m.from.Address(), nil
+}
func (m callmsg) Nonce() uint64 {
return m.from.Nonce()
}