core: adapt Message for new Transaction.From signature
This commit is contained in:
@ -44,9 +44,10 @@ type StateTransition struct {
|
||||
env vm.Environment
|
||||
}
|
||||
|
||||
// Message represents a message sent to a contract.
|
||||
type Message interface {
|
||||
From() common.Address
|
||||
To() common.Address
|
||||
From() (common.Address, error)
|
||||
To() *common.Address
|
||||
|
||||
GasPrice() *big.Int
|
||||
Gas() *big.Int
|
||||
|
Reference in New Issue
Block a user