Skip to content

Commit

Permalink
fix pool tests
Browse files Browse the repository at this point in the history
  • Loading branch information
antiochp committed Jul 12, 2019
1 parent a0704f1 commit 68df947
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pool/tests/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ impl ChainAdapter {
let batch = s.batch().unwrap();

batch.save_block_header(header).unwrap();
batch.save_head(&tip).unwrap();
batch.save_body_head(&tip).unwrap();
batch.save_header_head(&tip).unwrap();

// Retrieve previous block_sums from the db.
let prev_sums = if let Ok(prev_sums) = batch.get_block_sums(&tip.prev_block_h) {
Expand Down

0 comments on commit 68df947

Please sign in to comment.