Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove payload from log messages #205

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

grubles
Copy link
Collaborator

@grubles grubles commented Jul 12, 2023

This is a quick hack for keeping the L-BTC blinding key from being logged during a swap.

Example log:

2023-07-12T14:34:16.465Z DEBUG   plugin-peerswap: [Messenger] From: 035ca2fe4793a5e789ce846062eb4834f573c060d9200ce77544a29b48a0aa5923 got msgtype: a45d for swap: 2f5eb4f558a0a2d185fa282769ed2c8d74a3e3f4be47f1deb3a8c9834a00f1a5

The swap ID is still printed so CLN users can check listswaps (set to true) to find the blinding key and other info that otherwise would have been printed to the logs. The LND PeerSwap currently lacks the more detailed listswaps option, but they should be able to get the blinding keys from elements-cli listtransactions?

Addresses #199

@nepet nepet merged commit ab93669 into ElementsProject:master Jul 13, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants