From 8ad93824ff1abba52972e3af7db969954d1b9cd9 Mon Sep 17 00:00:00 2001 From: Alberto Sonnino Date: Thu, 9 Sep 2021 13:59:38 +0100 Subject: [PATCH] Bug fix --- narwhal/primary/src/header_waiter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/narwhal/primary/src/header_waiter.rs b/narwhal/primary/src/header_waiter.rs index aed1a6e7b6c96..8f9f38a500805 100644 --- a/narwhal/primary/src/header_waiter.rs +++ b/narwhal/primary/src/header_waiter.rs @@ -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);