Fixed couple issues

* (imp) Lock / RLock tries
* (fix) stack
This commit is contained in:
obscuren
2014-05-21 00:17:50 +02:00
parent e8b4585295
commit 5ceb1620e9
7 changed files with 71 additions and 26 deletions

View File

@ -102,6 +102,7 @@ func (miner *Miner) listener() {
}
if found == false {
miner.block.Undo()
//log.Infoln("[MINER] We did not know about this transaction, adding")
miner.txs = append(miner.txs, tx)
miner.block = miner.ethereum.BlockChain().NewBlock(miner.coinbase, miner.txs)