diff options
author | obscuren <geffobscura@gmail.com> | 2014-10-31 21:43:14 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-10-31 21:43:14 +0800 |
commit | af8f5f0b69f1c359991d12c7708804fe8dd1f944 (patch) | |
tree | dd3d5bea8d57037a2d32fae86c4ba7fcc9161b16 /ethereum.go | |
parent | 0ed1a8b50a9b9726cd57a2731d0405f6949c6188 (diff) | |
download | go-tangerine-af8f5f0b69f1c359991d12c7708804fe8dd1f944.tar.gz go-tangerine-af8f5f0b69f1c359991d12c7708804fe8dd1f944.tar.zst go-tangerine-af8f5f0b69f1c359991d12c7708804fe8dd1f944.zip |
ethstate => state
Diffstat (limited to 'ethereum.go')
-rw-r--r-- | ethereum.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ethereum.go b/ethereum.go index 9b456ad7c..d6f664349 100644 --- a/ethereum.go +++ b/ethereum.go @@ -16,12 +16,12 @@ import ( "github.com/ethereum/go-ethereum/chain" "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethstate" "github.com/ethereum/go-ethereum/ethutil" "github.com/ethereum/go-ethereum/ethwire" "github.com/ethereum/go-ethereum/event" "github.com/ethereum/go-ethereum/logger" "github.com/ethereum/go-ethereum/rpc" + "github.com/ethereum/go-ethereum/state" ) const ( @@ -615,7 +615,7 @@ func (self *Ethereum) GetFilter(id int) *chain.Filter { func (self *Ethereum) filterLoop() { // Subscribe to events - events := self.eventMux.Subscribe(chain.NewBlockEvent{}, ethstate.Messages(nil)) + events := self.eventMux.Subscribe(chain.NewBlockEvent{}, state.Messages(nil)) for event := range events.Chan() { switch event := event.(type) { case chain.NewBlockEvent: @@ -627,7 +627,7 @@ func (self *Ethereum) filterLoop() { } self.filterMu.RUnlock() - case ethstate.Messages: + case state.Messages: self.filterMu.RLock() for _, filter := range self.filters { if filter.MessageCallback != nil { |