aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/filter.go2
-rw-r--r--miner/worker.go1
-rw-r--r--xeth/xeth.go1
3 files changed, 2 insertions, 2 deletions
diff --git a/core/filter.go b/core/filter.go
index 277976a55..135960117 100644
--- a/core/filter.go
+++ b/core/filter.go
@@ -99,7 +99,7 @@ done:
switch {
case block.NumberU64() == 0:
break done
- case block.NumberU64() == earliestBlockNo:
+ case block.NumberU64() < earliestBlockNo:
break done
case self.max <= len(logs):
break done
diff --git a/miner/worker.go b/miner/worker.go
index 79514b231..1dfc4c77e 100644
--- a/miner/worker.go
+++ b/miner/worker.go
@@ -298,6 +298,7 @@ func (self *worker) wait() {
self.mux.Post(core.ChainEvent{block, block.Hash(), logs})
if stat == core.CanonStatTy {
self.mux.Post(core.ChainHeadEvent{block})
+ self.mux.Post(logs)
}
}(block, self.current.state.Logs())
diff --git a/xeth/xeth.go b/xeth/xeth.go
index d1085dc92..2781c67c9 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -781,7 +781,6 @@ func (self *XEth) PushTx(encodedTx string) (string, error) {
addr := crypto.CreateAddress(from, tx.Nonce())
glog.V(logger.Info).Infof("Tx(%x) created: %x\n", tx.Hash(), addr)
- return addr.Hex(), nil
} else {
glog.V(logger.Info).Infof("Tx(%x) to: %x\n", tx.Hash(), tx.To())
}