Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto Sonnino committed Sep 9, 2021
1 parent 5e35502 commit 8ad9382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion narwhal/primary/src/header_waiter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ impl HeaderWaiter {
}
for (worker_id, digests) in requires_sync {
let address = self.committee
.worker(&author, &worker_id)
.worker(&self.name, &worker_id)
.expect("Author of valid header is not in the committee")
.primary_to_worker;
let message = PrimaryWorkerMessage::Synchronize(digests, author);
Expand Down

0 comments on commit 8ad9382

Please sign in to comment.