X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Fblinded_path%2Fmessage.rs;h=1d2d624c8afb1acfdaffe9da8dd43f076b0d723f;hb=7002180261d495f15c12f9a341af1e7dbcac2990;hp=967ef612c318ad189ee93e0cb9c1b2dc63b8a529;hpb=e0bc6fa8b2fc67baee03e86aee1e04f5191d08e9;p=rust-lightning diff --git a/lightning/src/blinded_path/message.rs b/lightning/src/blinded_path/message.rs index 967ef612..1d2d624c 100644 --- a/lightning/src/blinded_path/message.rs +++ b/lightning/src/blinded_path/message.rs @@ -3,7 +3,7 @@ use bitcoin::secp256k1::{self, PublicKey, Secp256k1, SecretKey}; #[allow(unused_imports)] use crate::prelude::*; -use crate::blinded_path::{BlindedHop, BlindedPath}; +use crate::blinded_path::{BlindedHop, BlindedPath, IntroductionNode}; use crate::blinded_path::utils; use crate::io; use crate::io::Cursor; @@ -96,7 +96,7 @@ pub(crate) fn advance_path_by_one { - let mut next_node_id = match next_hop { + let next_node_id = match next_hop { NextHop::NodeId(pubkey) => pubkey, NextHop::ShortChannelId(_) => todo!(), }; @@ -108,7 +108,7 @@ pub(crate) fn advance_path_by_one Err(())