fix: accept null optional params in make_invoice and list_transactions #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/null-optional-params"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
First fork release. Carries the same fix as lnbits/nwcprovider#54: Amethyst sends unused optional
make_invoicefields as explicit JSONnull,dict.getdoesn't default those, anddescription.encode()crashed with'NoneType' object has no attribute 'encode'. Same coercion applied tolist_transactions' paging params.Three unit tests (fields omitted, null, and set) pass against upstream's lock file. Version
1.1.3-aio.1; after merge: tag, hash, catalog entry. Drop the fork commit when upstream merges #54 and we rebase.