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

Clnrest notifications remove msat #6884

Merged

Conversation

ShahanaFarooqui
Copy link
Collaborator

@ShahanaFarooqui ShahanaFarooqui commented Nov 20, 2023

Changelog-Fixed: JSON-RPC: Plugin notification msat fields in invoice_payment and invoice_created hooks now a number, not a string with "msat" suffix.
Changelog-Fixed: JSON-RPC: Plugin hook payment msat field is now a number, not a string with "msat" suffix.

Copy link
Contributor

@rustyrussell rustyrussell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be done a different way. Let me see what I can do...

plugins/clnrest/utilities/shared.py Outdated Show resolved Hide resolved
@rustyrussell rustyrussell force-pushed the clnrest-notifications-remove-msat branch from b3de490 to 3cac73b Compare November 21, 2023 00:40
@rustyrussell
Copy link
Contributor

Changelog-Fix: Removed msat suffix from clnrest notifications

Turns out this was an underlying bug, so I've fixed that (and made the Changelog lines more general).

Thanks!

@ShahanaFarooqui
Copy link
Collaborator Author

ShahanaFarooqui commented Nov 21, 2023

Working in UI as expected.

Reported-by: Shahana Farooqui
Changelog-Fixed: JSON-RPC: Plugin notification `msat` fields in `invoice_payment` and `invoice_created` hooks now a number, not a string with "msat" suffix.
Changelog-Fixed: JSON-RPC: Plugin hook `payment` `msat` field is now a number, not a string with "msat" suffix.
@ShahanaFarooqui
Copy link
Collaborator Author

ACK d7ddde3.

@nepet nepet merged commit 0b23133 into ElementsProject:master Nov 21, 2023
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants