projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- bindings diff
[rust-lightning]
/
lightning
/
src
/
ln
/
onion_utils.rs
diff --git
a/lightning/src/ln/onion_utils.rs
b/lightning/src/ln/onion_utils.rs
index c6bd92f5bc1238f3b702a327f43682f51ccc1f2c..1c45da14a382c78aef88acda8a1a3d56ea0c1dca 100644
(file)
--- a/
lightning/src/ln/onion_utils.rs
+++ b/
lightning/src/ln/onion_utils.rs
@@
-306,8
+306,8
@@
pub(super) fn build_failure_packet(shared_secret: &[u8], failure_type: u16, fail
};
let mut packet = msgs::DecodedOnionErrorPacket {
hmac: [0; 32],
- failuremsg
: failuremsg
,
- pad
: pad
,
+ failuremsg,
+ pad,
};
let mut hmac = HmacEngine::<Sha256>::new(&um);