Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Initialize transaction-status and address-signature primer entries wi…
Browse files Browse the repository at this point in the history
…th Slot::MAX
  • Loading branch information
Tyera Eulberg committed Aug 6, 2020
1 parent 3aefd75 commit 86dac1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ledger/src/blockstore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1678,11 +1678,11 @@ impl Blockstore {
.put(1, &TransactionStatusIndexMeta::default())?;
// This dummy status improves compaction performance
self.transaction_status_cf.put(
cf::TransactionStatus::as_index(2),
(2, Signature::default(), Slot::MAX),
&TransactionStatusMeta::default(),
)?;
self.address_signatures_cf.put(
cf::AddressSignatures::as_index(2),
(2, Pubkey::default(), Slot::MAX, Signature::default()),
&AddressSignatureMeta::default(),
)
}
Expand Down

0 comments on commit 86dac1d

Please sign in to comment.