projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Create `PaymentFailureReason` enum
[rust-lightning]
/
lightning
/
src
/
onion_message
/
utils.rs
diff --git
a/lightning/src/onion_message/utils.rs
b/lightning/src/onion_message/utils.rs
index 00464604984a5fb0e36357fb008502299daee7cd..ae9e0a7f6fee3e23b27c1aa9b1c63c51d1ea26cf 100644
(file)
--- a/
lightning/src/onion_message/utils.rs
+++ b/
lightning/src/onion_message/utils.rs
@@
-16,7
+16,7
@@
use bitcoin::secp256k1::{self, PublicKey, Secp256k1, SecretKey, Scalar};
use bitcoin::secp256k1::ecdh::SharedSecret;
use crate::ln::onion_utils;
use bitcoin::secp256k1::ecdh::SharedSecret;
use crate::ln::onion_utils;
-use super::blinded_
route::BlindedRoute
;
+use super::blinded_
path::BlindedPath
;
use super::messenger::Destination;
use crate::prelude::*;
use super::messenger::Destination;
use crate::prelude::*;
@@
-87,7
+87,7
@@
pub(super) fn construct_keys_callback<T: secp256k1::Signing + secp256k1::Verific
Destination::Node(pk) => {
build_keys!(pk, false, None);
},
Destination::Node(pk) => {
build_keys!(pk, false, None);
},
- Destination::Blinded
Route(BlindedRoute
{ blinded_hops, .. }) => {
+ Destination::Blinded
Path(BlindedPath
{ blinded_hops, .. }) => {
for hop in blinded_hops {
build_keys_in_loop!(hop.blinded_node_id, true, Some(hop.encrypted_payload));
}
for hop in blinded_hops {
build_keys_in_loop!(hop.blinded_node_id, true, Some(hop.encrypted_payload));
}