We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0137c7c commit 411b312Copy full SHA for 411b312
lightning/src/sign/mod.rs
@@ -933,7 +933,8 @@ pub trait NodeSigner {
933
934
/// Sign an arbitrary message with the node's secret key.
935
///
936
- /// Creates a digital signature of a message given the node's secret.
+ /// Creates a digital signature of a message given the node's secret. The message is prefixed
937
+ /// with "Lightning Signed Message:" before signing.
938
/// A receiver knowing the node's id and the message can be sure that the signature was generated by the caller.
939
/// An `Err` can be returned to signal that the signer is unavailable / cannot produce a valid
940
/// signature.
0 commit comments