core: adapt Message for new Transaction.From signature

This commit is contained in:
Felix Lange
2015-03-17 12:00:29 +01:00
parent b95387a0dc
commit 27f7aa0163
2 changed files with 5 additions and 3 deletions

View File

@ -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