Commit 8828e52
committed
Stop logging payment preimages at INFO level
Payment preimages are proof-of-payment and correlation material. The INFO
log previously included the full preimage after a successful outbound
payment, exposing it to log collectors and anyone with log access.
Remove the preimage from the 'Successfully sent payment' log message in
src/event.rs, retaining only the payment hash for diagnostics. The
preimage remains accessible via the PaymentSuccessful event and payment
store APIs.1 parent b56c167 commit 8828e52
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1225 | 1225 | | |
1226 | 1226 | | |
1227 | 1227 | | |
1228 | | - | |
1229 | | - | |
| 1228 | + | |
1230 | 1229 | | |
1231 | 1230 | | |
1232 | 1231 | | |
1233 | 1232 | | |
1234 | 1233 | | |
1235 | 1234 | | |
1236 | 1235 | | |
1237 | | - | |
1238 | 1236 | | |
1239 | 1237 | | |
1240 | 1238 | | |
| |||
0 commit comments