File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
lib/wallets/crypto_currency Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -255,6 +255,7 @@ class BitcoinFrost extends FrostCurrency {
255255 final clAddress = cl.Address .fromString (address, networkParams);
256256
257257 return switch (clAddress) {
258+ cl.P2TRAddress () => AddressType .p2tr,
258259 cl.P2PKHAddress () => AddressType .p2pkh,
259260 cl.P2WSHAddress () => AddressType .p2sh,
260261 cl.P2WPKHAddress () => AddressType .p2wpkh,
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ mixin ElectrumXCurrencyInterface on Bip39HDCurrency {
1818 cl.P2PKHAddress () => AddressType .p2pkh,
1919 cl.P2WSHAddress () => AddressType .p2sh,
2020 cl.P2WPKHAddress () => AddressType .p2wpkh,
21+ cl.P2TRAddress () => AddressType .p2tr,
2122 cl.MwebAddress () => AddressType .mweb,
2223 _ => null ,
2324 };
You can’t perform that action at this time.
0 commit comments