Skip to content

Commit

Permalink
small logic bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
D-Stacks committed Jan 22, 2024
1 parent fa3e218 commit 73ad8b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indexes/txindex/src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ impl TxIndex {
sync_from = *to_process_hashes.last().unwrap();

//TODO: make txindex reindex accept a hash and acceptance data vec, for now use a pseudo notification.
let vspcc_notification = if !remove_segment {
let vspcc_notification = if remove_segment {
ConsensusVirtualChainChangedNotification {
added_chain_block_hashes: Arc::new(vec![]),
removed_chain_block_hashes: to_process_hashes.into(),
Expand Down

0 comments on commit 73ad8b9

Please sign in to comment.