Skip to content

Commit 20fe546

Browse files
committed
Make links in message signing docs rustdoc links
Latest rustc warns that "this URL is not a hyperlink" and notes that "bare URLs are not automatically turned into clickable links". This resolves those warnings.
1 parent e7974da commit 20fe546

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/util/message_signing.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
//! Note this is not part of the specs, but follows lnd's signing and verifying protocol, which can is defined as follows:
1313
//!
1414
//! signature = zbase32(SigRec(sha256d(("Lightning Signed Message:" + msg)))
15-
//! zbase32 from https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt
15+
//! zbase32 from <https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt>
1616
//! SigRec has first byte 31 + recovery id, followed by 64 byte sig.
1717
//!
1818
//! This implementation is compatible with both lnd's and c-lightning's
1919
//!
20-
//! https://lightning.readthedocs.io/lightning-signmessage.7.html
21-
//! https://api.lightning.community/#signmessage
20+
//! <https://lightning.readthedocs.io/lightning-signmessage.7.html>
21+
//! <https://api.lightning.community/#signmessage>
2222
2323
use prelude::*;
2424
use crate::util::zbase32;

0 commit comments

Comments
 (0)