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
539 stars 194 forks source link

fix(mnemonic): restrict input fields to 12 #3039

Closed im-adithya closed 9 months ago

im-adithya commented 9 months ago

Describe the changes you have made in this PR

Pops the words after 12, so that we can restrict the mnemonic inputs to 12 max.

Link this PR to an issue [optional]

Fixes #3038

Type of change

(Remove other not matching type)

Screenshots of the changes [optional]

https://github.com/getAlby/lightning-browser-extension/assets/64399555/0df0c252-f706-4493-a083-4b42d9a68be8

How has this been tested?

Tested Manually

Checklist