aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/state_manager.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethchain/state_manager.go')
-rw-r--r--ethchain/state_manager.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/ethchain/state_manager.go b/ethchain/state_manager.go
index 7085146df..0923b017e 100644
--- a/ethchain/state_manager.go
+++ b/ethchain/state_manager.go
@@ -21,7 +21,6 @@ type EthManager interface {
Broadcast(msgType ethwire.MsgType, data []interface{})
}
-// TODO rename to state manager
type StateManager struct {
// Mutex for locking the block processor. Blocks can only be handled one at a time
mutex sync.Mutex
@@ -50,6 +49,8 @@ type StateManager struct {
// Comparative state it used for comparing and validating end
// results
compState *State
+
+ miningState *State
}
func NewStateManager(ethereum EthManager) *StateManager {