getAlby / lightning-browser-extension

The Bitcoin Lightning Browser Extension that brings deep Lightning & Nostr integration to the web. Wallet interface to multiple lightning nodes and key signer for Nostr, Liquid and onchain use.
https://getalby.com/#extension
MIT License
540 stars 194 forks source link

fix: nwc keysend method and custom record conversion when custom records is not passed #3218

Closed pavanjoshi914 closed 3 months ago

pavanjoshi914 commented 3 months ago

Describe the changes you have made in this PR

currently if we paste node id in send screen. the custom_records will be undefined. and keysend thrws error while converting it to tlv records. keysend shall be successfully even if custom_records are undefined

(Remove other not matching type)

How has this been tested?

go to send -> paste node id -> keysend will be successfull

Checklist

pavanjoshi914 commented 3 months ago

tAck