From e7980257bcbd80e8a23465bd493e9a160917626a Mon Sep 17 00:00:00 2001 From: Federico Franzoni <8609060+fed-franz@users.noreply.github.com> Date: Thu, 29 Aug 2024 11:26:43 +0200 Subject: [PATCH] node-data: add Seed to Candidate signature --- node-data/src/message.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/node-data/src/message.rs b/node-data/src/message.rs index 1c3dfe8918..66b254efb5 100644 --- a/node-data/src/message.rs +++ b/node-data/src/message.rs @@ -1243,6 +1243,7 @@ impl StepMessage for Candidate { } fn signable(&self) -> Vec { let mut signable = self.header.signable(); + signable.extend_from_slice(Self::SIGN_SEED); let candidate_hash = self.candidate.header().hash.to_vec(); signable.extend_from_slice(&candidate_hash); signable