simplify when block_sums and spent_index are added to the db (#3253)

* simplify when block_sums and spent_index are added to the db

* fix pool tests

* cleanup
This commit is contained in:
Antioch Peverell
2020-03-10 14:58:32 +00:00
committed by GitHub
parent 8ca381a9c2
commit 3bbf60ee92
5 changed files with 34 additions and 35 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ impl ChainAdapter {
utxo_sum,
kernel_sum,
};
batch.save_block_sums(&header.hash(), &block_sums).unwrap();
batch.save_block_sums(&header.hash(), block_sums).unwrap();
batch.commit().unwrap();