diff --git a/ethcore/src/blockchain/blockchain.rs b/ethcore/src/blockchain/blockchain.rs index 36db9dded..40b01c6f9 100644 --- a/ethcore/src/blockchain/blockchain.rs +++ b/ethcore/src/blockchain/blockchain.rs @@ -504,10 +504,10 @@ impl BlockChain { batch.put_extras(hash, tx_address); write_txs.remove(hash); } - } - // update extras database - self.extras_db.write(batch).unwrap(); + // update extras database + self.extras_db.write(batch).unwrap(); + } } /// Iterator that lists `first` and then all of `first`'s ancestors, by hash.