Skip to content

Commit

Permalink
v1.15: Filter pubkey in gossip duplicateproof ingestion (backport of #…
Browse files Browse the repository at this point in the history
…29879) (#30284)

Filter pubkey in gossip duplicateproof ingestion (#29879)

(cherry picked from commit 151585e)

Co-authored-by: Wen <113942165+wen-coding@users.noreply.github.com>
  • Loading branch information
mergify[bot] and wen-coding authored Feb 13, 2023
1 parent e820338 commit d501a80
Show file tree
Hide file tree
Showing 2 changed files with 204 additions and 90 deletions.
6 changes: 5 additions & 1 deletion core/src/tvu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,11 @@ impl Tvu {
let duplicate_shred_listener = DuplicateShredListener::new(
exit.clone(),
cluster_info.clone(),
DuplicateShredHandler::new(blockstore, leader_schedule_cache.clone()),
DuplicateShredHandler::new(
blockstore,
leader_schedule_cache.clone(),
bank_forks.clone(),
),
);

Ok(Tvu {
Expand Down
Loading

0 comments on commit d501a80

Please sign in to comment.