chore: code clean-up
This commit is contained in:
parent
cf75df366a
commit
f72421c62c
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ const guessAddressType = (a = '') => {
|
||||||
return a.length === 42 ? 'p2wpkh' : 'p2wsh'
|
return a.length === 42 ? 'p2wpkh' : 'p2wsh'
|
||||||
if (a.startsWith('bc1p') || a.startsWith('tb1p')) return 'p2tr'
|
if (a.startsWith('bc1p') || a.startsWith('tb1p')) return 'p2tr'
|
||||||
}
|
}
|
||||||
// bc1qwpdwyaqweavs5fpa8rujqaxmrmt9lvmydmcnt7
|
|
||||||
const ACCOUNT_TYPES = {
|
const ACCOUNT_TYPES = {
|
||||||
p2tr: 'Taproot, BIP86, P2TR, Bech32m',
|
p2tr: 'Taproot, BIP86, P2TR, Bech32m',
|
||||||
p2wpkh: 'SegWit, BIP84, P2WPKH, Bech32',
|
p2wpkh: 'SegWit, BIP84, P2WPKH, Bech32',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue