aboutsummaryrefslogtreecommitdiffstats
path: root/core/state_transition.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-17 06:17:28 +0800
committerobscuren <geffobscura@gmail.com>2015-03-17 06:17:28 +0800
commit94505146a21cc0aee16d79aebc17c8fcb1f91324 (patch)
treecc28e02c74c0f8e2d7185a9f79028b82a5a8bb52 /core/state_transition.go
parent843db4978e876674ca111706880a58c84202880d (diff)
downloadgo-tangerine-94505146a21cc0aee16d79aebc17c8fcb1f91324.tar
go-tangerine-94505146a21cc0aee16d79aebc17c8fcb1f91324.tar.gz
go-tangerine-94505146a21cc0aee16d79aebc17c8fcb1f91324.tar.bz2
go-tangerine-94505146a21cc0aee16d79aebc17c8fcb1f91324.tar.lz
go-tangerine-94505146a21cc0aee16d79aebc17c8fcb1f91324.tar.xz
go-tangerine-94505146a21cc0aee16d79aebc17c8fcb1f91324.tar.zst
go-tangerine-94505146a21cc0aee16d79aebc17c8fcb1f91324.zip
updated vm env
Diffstat (limited to 'core/state_transition.go')
-rw-r--r--core/state_transition.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/state_transition.go b/core/state_transition.go
index 279abee62..575bdf026 100644
--- a/core/state_transition.go
+++ b/core/state_transition.go
@@ -4,8 +4,8 @@ import (
"fmt"
"math/big"
- "github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/common"
+ "github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/state"
"github.com/ethereum/go-ethereum/vm"
)
@@ -45,8 +45,8 @@ type StateTransition struct {
}
type Message interface {
- From() []byte
- To() []byte
+ From() common.Address
+ To() common.Address
GasPrice() *big.Int
Gas() *big.Int