Merge pull request #651 from ethcore/tx_queue_integration
Tx_queue_docs -> To master
This commit is contained in:
@@ -396,7 +396,8 @@ impl<V> Client<V> where V: Verifier {
|
||||
.commit(header.number(), &header.hash(), ancient)
|
||||
.expect("State DB commit failed.");
|
||||
|
||||
// And update the chain
|
||||
// And update the chain after commit to prevent race conditions
|
||||
// (when something is in chain but you are not able to fetch details)
|
||||
self.chain.write().unwrap()
|
||||
.insert_block(&block.bytes, receipts);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user