Skip to content

Commit 5489b0b

Browse files
committed
Change misleading comment
1 parent 9bd7556 commit 5489b0b

File tree

1 file changed

+4
-3
lines changed
  • anchor/signature_collector/src

1 file changed

+4
-3
lines changed

anchor/signature_collector/src/lib.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -392,9 +392,10 @@ pub enum SignatureRequester {
392392
Committee {
393393
/// The number of signatures we have to wait for.
394394
num_signatures_to_collect: usize,
395-
/// A hash that identifies what we are signing. Note that the actual signing root might be
396-
/// different - for example, because we are in different beacon chain attestation
397-
/// committees, and the attestation data differs therefore.
395+
/// A hash that identifies what we are signing. We wait with sending the message until we
396+
/// have created enough signatures with this `base_hash`. We need this to differentiate
397+
/// "groups" of signatures. We cannot use the signing root, as we need to group signatures
398+
/// with differing signing roots.
398399
base_hash: Hash256,
399400
},
400401
}

0 commit comments

Comments
 (0)