projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplify onion message blinded hop construction
[rust-lightning]
/
lightning
/
src
/
offers
/
test_utils.rs
diff --git
a/lightning/src/offers/test_utils.rs
b/lightning/src/offers/test_utils.rs
index 26c0d051223a6c26787055257a187fdfd95f1da7..230c6aa1628d96a180276d228d5742369062886f 100644
(file)
--- a/
lightning/src/offers/test_utils.rs
+++ b/
lightning/src/offers/test_utils.rs
@@
-58,7
+58,7
@@
pub(super) fn privkey(byte: u8) -> SecretKey {
SecretKey::from_slice(&[byte; 32]).unwrap()
}
SecretKey::from_slice(&[byte; 32]).unwrap()
}
-pub(super) fn payment_paths() -> Vec<(BlindedPa
th, BlindedPayInfo
)> {
+pub(super) fn payment_paths() -> Vec<(BlindedPa
yInfo, BlindedPath
)> {
let paths = vec![
BlindedPath {
introduction_node_id: pubkey(40),
let paths = vec![
BlindedPath {
introduction_node_id: pubkey(40),
@@
-97,7
+97,7
@@
pub(super) fn payment_paths() -> Vec<(BlindedPath, BlindedPayInfo)> {
},
];
},
];
- pa
ths.into_iter().zip(payinfo
.into_iter()).collect()
+ pa
yinfo.into_iter().zip(paths
.into_iter()).collect()
}
pub(super) fn payment_hash() -> PaymentHash {
}
pub(super) fn payment_hash() -> PaymentHash {