aboutsummaryrefslogtreecommitdiffstats
path: root/common/registrar/ethreg/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'common/registrar/ethreg/api.go')
-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()
}