core: only check sendernoeoa in non fake mode (#23424)

This commit is contained in:
Marius van der Wijden
2021-08-23 11:49:39 +02:00
committed by GitHub
parent c368f728c1
commit d02c605367
7 changed files with 21 additions and 20 deletions

View File

@ -795,7 +795,7 @@ type callMsg struct {
func (m callMsg) From() common.Address { return m.CallMsg.From }
func (m callMsg) Nonce() uint64 { return 0 }
func (m callMsg) CheckNonce() bool { return false }
func (m callMsg) IsFake() bool { return true }
func (m callMsg) To() *common.Address { return m.CallMsg.To }
func (m callMsg) GasPrice() *big.Int { return m.CallMsg.GasPrice }
func (m callMsg) GasFeeCap() *big.Int { return m.CallMsg.GasFeeCap }