Skip to content

Commit bff580f

Browse files
committed
Differentiate invalid hmac log messages
To make it clear whether validation failed for a failure or a fulfill.
1 parent beeb056 commit bff580f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/onion_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1235,7 +1235,7 @@ where
12351235

12361236
log_debug!(
12371237
logger,
1238-
"Invalid HMAC in attribution data for node at pos {}",
1238+
"Invalid failure HMAC in attribution data for node at pos {}",
12391239
route_hop_idx
12401240
);
12411241
},

0 commit comments

Comments
 (0)