Skip to content

Commit

Permalink
node-data: add Seed to Candidate signature
Browse files Browse the repository at this point in the history
  • Loading branch information
fed-franz committed Aug 29, 2024
1 parent b4b2f9b commit e798025
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions node-data/src/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1243,6 +1243,7 @@ impl StepMessage for Candidate {
}
fn signable(&self) -> Vec<u8> {
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
Expand Down

0 comments on commit e798025

Please sign in to comment.