Skip to content

Commit

Permalink
skip if not found
Browse files Browse the repository at this point in the history
  • Loading branch information
kantai committed Dec 31, 2020
1 parent d8aead9 commit 15e3071
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/chainstate/burn/db/sortdb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1822,6 +1822,9 @@ impl<'a> SortitionHandleConn<'a> {
cursor = (sn.winning_block_txid, sn.block_height);
}
}
if !found_ancestor {
continue;
}
// this is the burn block height of the sortition that chose the
// highest ancestor of winner_stacks_bh whose sortition occurred before prepare_begin
// the winner of that sortition is the PoX anchor block candidate that winner_stacks_bh is "voting for"
Expand Down

0 comments on commit 15e3071

Please sign in to comment.