mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-26 11:56:16 +02:00
chore: code clean-up
This commit is contained in:
@@ -88,7 +88,7 @@ const guessAddressType = (a = '') => {
|
||||
return a.length === 42 ? 'p2wpkh' : 'p2wsh'
|
||||
if (a.startsWith('bc1p') || a.startsWith('tb1p')) return 'p2tr'
|
||||
}
|
||||
// bc1qwpdwyaqweavs5fpa8rujqaxmrmt9lvmydmcnt7
|
||||
|
||||
const ACCOUNT_TYPES = {
|
||||
p2tr: 'Taproot, BIP86, P2TR, Bech32m',
|
||||
p2wpkh: 'SegWit, BIP84, P2WPKH, Bech32',
|
||||
|
Reference in New Issue
Block a user