mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 07:17:40 +01:00
Fix accidental newline in OnionMessenger docs
This commit is contained in:
parent
333be69bb4
commit
87b637c990
1 changed files with 1 additions and 2 deletions
|
@ -61,8 +61,7 @@ use prelude::*;
|
||||||
/// # let node_secret = SecretKey::from_slice(&hex::decode("0101010101010101010101010101010101010101010101010101010101010101").unwrap()[..]).unwrap();
|
/// # let node_secret = SecretKey::from_slice(&hex::decode("0101010101010101010101010101010101010101010101010101010101010101").unwrap()[..]).unwrap();
|
||||||
/// # let secp_ctx = Secp256k1::new();
|
/// # let secp_ctx = Secp256k1::new();
|
||||||
/// # let hop_node_id1 = PublicKey::from_secret_key(&secp_ctx, &node_secret);
|
/// # let hop_node_id1 = PublicKey::from_secret_key(&secp_ctx, &node_secret);
|
||||||
/// # let (hop_node_id2, hop_node_id3, hop_node_id4) = (hop_node_id1, hop_node_id1,
|
/// # let (hop_node_id2, hop_node_id3, hop_node_id4) = (hop_node_id1, hop_node_id1, hop_node_id1);
|
||||||
/// hop_node_id1);
|
|
||||||
/// # let destination_node_id = hop_node_id1;
|
/// # let destination_node_id = hop_node_id1;
|
||||||
/// # let your_custom_message_handler = IgnoringMessageHandler {};
|
/// # let your_custom_message_handler = IgnoringMessageHandler {};
|
||||||
/// // Create the onion messenger. This must use the same `keys_manager` as is passed to your
|
/// // Create the onion messenger. This must use the same `keys_manager` as is passed to your
|
||||||
|
|
Loading…
Add table
Reference in a new issue