Skip to content

Commit ba522bf

Browse files
f - add permalink to onion test
1 parent aafe3d5 commit ba522bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/onion_utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -843,8 +843,8 @@ mod tests {
843843
assert_eq!(onion_keys[4].rho, hex::decode("034e18b8cc718e8af6339106e706c52d8df89e2b1f7e9142d996acf88df8799b").unwrap()[..]);
844844
assert_eq!(onion_keys[4].mu, hex::decode("8e45e5c61c2b24cb6382444db6698727afb063adecd72aada233d4bf273d975a").unwrap()[..]);
845845

846-
// Packet creation test vectors from BOLT 4 (as of writing this at bolt04/onion-test.json
847-
// in the spec repo).
846+
// Packet creation test vectors from BOLT 4 (as of writing
847+
// https://github.com/lightning/bolts/blob/16973e2b857e853308cafd59e42fa830d75b1642/bolt04/onion-test.json).
848848
// Note that we represent the test vector payloads 2 and 5 through RawOnionHopData::data
849849
// with raw hex instead of our in-memory enums, as the payloads contains custom types, and
850850
// we have no way of representing that with our enums.

0 commit comments

Comments
 (0)