diff options
Diffstat (limited to 'ethchain')
-rw-r--r-- | ethchain/filter.go | 2 | ||||
-rw-r--r-- | ethchain/state_manager.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ethchain/filter.go b/ethchain/filter.go index b0edea7a0..a88d36467 100644 --- a/ethchain/filter.go +++ b/ethchain/filter.go @@ -90,7 +90,7 @@ func (self *Filter) Find() []*ethstate.Message { for i := 0; !quit && block != nil; i++ { // Quit on latest switch { - case block.Number.Uint64() == earliestBlockNo: + case block.Number.Uint64() == earliestBlockNo, block.Number.Uint64() == 0: quit = true case self.max <= len(messages): break diff --git a/ethchain/state_manager.go b/ethchain/state_manager.go index 62970f621..d48d96a51 100644 --- a/ethchain/state_manager.go +++ b/ethchain/state_manager.go @@ -194,7 +194,7 @@ done: } // Notify all subscribers - self.eth.EventMux().Post(TxPostEvent{tx}) + go self.eth.EventMux().Post(TxPostEvent{tx}) receipts = append(receipts, receipt) handled = append(handled, tx) |