Skip to content

Commit

Permalink
fix remoun comment (use constant at top of file)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeck88 committed Mar 25, 2022
1 parent 3fc5482 commit 48ad166
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions ledger/db/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2528,7 +2528,7 @@ mod ledger_db_test {
..Default::default()
};
let block = Block::new_with_parent(
BlockVersion::ZERO,
BLOCK_VERSION,
&origin_block,
&Default::default(),
&block_contents,
Expand Down Expand Up @@ -2570,12 +2570,8 @@ mod ledger_db_test {
..Default::default()
};
let parent = ledger_db.get_block(n_blocks - 1).unwrap();
let block = Block::new_with_parent(
BlockVersion::ZERO,
&parent,
&Default::default(),
&block_contents,
);
let block =
Block::new_with_parent(BLOCK_VERSION, &parent, &Default::default(), &block_contents);

ledger_db
.append_block(&block, &block_contents, None)
Expand Down Expand Up @@ -2610,7 +2606,7 @@ mod ledger_db_test {
..Default::default()
};
let block = Block::new_with_parent(
BlockVersion::ZERO,
BLOCK_VERSION,
&origin_block,
&Default::default(),
&block_contents,
Expand Down

0 comments on commit 48ad166

Please sign in to comment.