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

fix: Exception null type in listinvoice #23

Merged
merged 1 commit into from
Jul 6, 2022

Conversation

KAVAN-DESAI
Copy link
Member

@KAVAN-DESAI KAVAN-DESAI commented Jul 6, 2022

Fixes #22

@KAVAN-DESAI KAVAN-DESAI self-assigned this Jul 6, 2022
@@ -25,7 +25,7 @@ class AppInvoice {
final String bolt11;

/// The quantity of Bitcoin in millisatoshi
final int amount;
final String amount;
Copy link
Member

Choose a reason for hiding this comment

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

this is a tricky update, core lightning in the actual version the millisatishi is a string, but will began a integer, I think the only problem that you are facing is correct, but we need to open a issue to keep track of this core lightning update regarding the millisatoshi fileld.

because it can cause some strange crash!

@vincenzopalazzo vincenzopalazzo merged commit a491b55 into dart-lightning:main Jul 6, 2022
@KAVAN-DESAI KAVAN-DESAI deleted the listpayments branch July 12, 2022 14:03
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.

Exception: type 'Null' is not a subtype of type 'String'
2 participants