aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/state_transition.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethchain/state_transition.go')
-rw-r--r--ethchain/state_transition.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ethchain/state_transition.go b/ethchain/state_transition.go
index 94546e556..76936aa7c 100644
--- a/ethchain/state_transition.go
+++ b/ethchain/state_transition.go
@@ -32,8 +32,8 @@ type StateTransition struct {
cb, rec, sen *StateObject
}
-func NewStateTransition(coinbase []byte, tx *Transaction, state *State, block *Block) *StateTransition {
- return &StateTransition{coinbase, tx, new(big.Int), state, block, nil, nil, nil}
+func NewStateTransition(coinbase *StateObject, tx *Transaction, state *State, block *Block) *StateTransition {
+ return &StateTransition{coinbase.Address(), tx, new(big.Int), state, block, coinbase, nil, nil}
}
func (self *StateTransition) Coinbase() *StateObject {