Moved on to the state manager

This commit is contained in:
obscuren
2014-03-17 10:33:03 +01:00
parent 54bcee512d
commit b15a4985e8
3 changed files with 29 additions and 27 deletions

View File

@@ -233,11 +233,11 @@ func (pool *TxPool) Start() {
}
func (pool *TxPool) Stop() {
log.Println("[TXP] Stopping...")
close(pool.quit)
pool.Flush()
log.Println("[TXP] Stopped")
}
func (pool *TxPool) Subscribe(channel chan TxMsg) {