From 03989749a29407aa9776cbcb3a5694244883bcd0 Mon Sep 17 00:00:00 2001 From: thedevbirb Date: Wed, 30 Oct 2024 17:11:40 +0100 Subject: [PATCH] fix(sidecar): validator and not delegatee again --- bolt-sidecar/src/driver.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bolt-sidecar/src/driver.rs b/bolt-sidecar/src/driver.rs index d9741550d..ed33033d2 100644 --- a/bolt-sidecar/src/driver.rs +++ b/bolt-sidecar/src/driver.rs @@ -169,10 +169,10 @@ impl SidecarDriver { opts.constraint_signing.delegations_path.as_ref() { let delegations = read_signed_delegations_from_file(delegations_file_path)?; - let delegatees = - delegations.iter().map(|d| d.message.delegatee_pubkey.clone()).collect::>(); + let validator_public_keys = + delegations.iter().map(|d| d.message.validator_pubkey.clone()).collect::>(); constraints_client.add_delegations(delegations); - delegatees + validator_public_keys } else { Vec::from_iter(constraint_signer.available_pubkeys()) };