Update lib_btc.js
This commit is contained in:
parent
cb21c7f84b
commit
7f402a375c
@ -636,6 +636,9 @@
|
|||||||
} else if (o.version == coinjs.multisig) { // multisig address
|
} else if (o.version == coinjs.multisig) { // multisig address
|
||||||
o.type = 'multisig';
|
o.type = 'multisig';
|
||||||
|
|
||||||
|
} else if (o.version == coinjs.multisigBech32) { // multisig address
|
||||||
|
o.type = 'multisigBech32';
|
||||||
|
|
||||||
} else if (o.version == coinjs.priv) { // wifkey
|
} else if (o.version == coinjs.priv) { // wifkey
|
||||||
o.type = 'wifkey';
|
o.type = 'wifkey';
|
||||||
|
|
||||||
@ -2835,7 +2838,7 @@
|
|||||||
if (!addr)
|
if (!addr)
|
||||||
return undefined;
|
return undefined;
|
||||||
let type = coinjs.addressDecode(addr).type;
|
let type = coinjs.addressDecode(addr).type;
|
||||||
if (["standard", "multisig", "bech32"].includes(type))
|
if (["standard", "multisig", "bech32", "multisigBech32"].includes(type))
|
||||||
return type;
|
return type;
|
||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user