aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/xeth.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2016-02-24 19:44:41 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2016-02-24 20:46:37 +0800
commit4e0fe48e20f260f0b007c64ab7f7994abb2bf28e (patch)
tree88f3a5a910a667333f17eec9c927c916b6244f87 /xeth/xeth.go
parentbcf565730b1816304947021080981245d084a930 (diff)
downloadgo-tangerine-4e0fe48e20f260f0b007c64ab7f7994abb2bf28e.tar
go-tangerine-4e0fe48e20f260f0b007c64ab7f7994abb2bf28e.tar.gz
go-tangerine-4e0fe48e20f260f0b007c64ab7f7994abb2bf28e.tar.bz2
go-tangerine-4e0fe48e20f260f0b007c64ab7f7994abb2bf28e.tar.lz
go-tangerine-4e0fe48e20f260f0b007c64ab7f7994abb2bf28e.tar.xz
go-tangerine-4e0fe48e20f260f0b007c64ab7f7994abb2bf28e.tar.zst
go-tangerine-4e0fe48e20f260f0b007c64ab7f7994abb2bf28e.zip
[release/1.3.4] xeth: backward fix for messages
Diffstat (limited to 'xeth/xeth.go')
-rw-r--r--xeth/xeth.go15
1 files changed, 8 insertions, 7 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go
index 19c42a9a3..e5513d7ee 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -1050,13 +1050,14 @@ type callmsg struct {
}
// accessor boilerplate to implement core.Message
-func (m callmsg) From() (common.Address, error) { return m.from.Address(), nil }
-func (m callmsg) Nonce() uint64 { return m.from.Nonce() }
-func (m callmsg) To() *common.Address { return m.to }
-func (m callmsg) GasPrice() *big.Int { return m.gasPrice }
-func (m callmsg) Gas() *big.Int { return m.gas }
-func (m callmsg) Value() *big.Int { return m.value }
-func (m callmsg) Data() []byte { return m.data }
+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() }
+func (m callmsg) To() *common.Address { return m.to }
+func (m callmsg) GasPrice() *big.Int { return m.gasPrice }
+func (m callmsg) Gas() *big.Int { return m.gas }
+func (m callmsg) Value() *big.Int { return m.value }
+func (m callmsg) Data() []byte { return m.data }
type logQueue struct {
mu sync.Mutex