Minor updates for release

This commit is contained in:
obscuren
2015-02-20 18:05:46 +01:00
parent 66d5559866
commit cc43ab9a81
8 changed files with 38 additions and 21 deletions

View File

@ -117,11 +117,9 @@ out:
case event := <-events.Chan():
switch ev := event.(type) {
case core.ChainEvent:
println("miner start")
if self.current.block != ev.Block {
self.commitNewWork()
}
println("miner end")
case core.NewMinedBlockEvent:
self.commitNewWork()
}