Skip to content

Commit

Permalink
default bitvec
Browse files Browse the repository at this point in the history
  • Loading branch information
danielxiangzl committed Dec 14, 2024
1 parent 69ff4cb commit bb5cd38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/consensus-types/src/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ impl Block {
self.epoch(),
self.round(),
self.author().unwrap_or(AccountAddress::ZERO),
vec![1; self.previous_bitvec().num_buckets()], // optimistic proposal hack
BitVec::default().into(), // optimistic proposal hack
// For nil block, we use 0x0 which is convention for nil address in move.
self.block_data()
.failed_authors()
Expand Down

0 comments on commit bb5cd38

Please sign in to comment.