[release/1.3.4] xeth: backward fix for messages

This commit is contained in:
Jeffrey Wilcke 2016-02-24 12:44:41 +01:00
parent bcf565730b
commit 4e0fe48e20
1 changed files with 8 additions and 7 deletions

View File

@ -1051,6 +1051,7 @@ type callmsg struct {
// accessor boilerplate to implement core.Message
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 }