feat: change bitcoin address options order

This commit is contained in:
Rafael Saes 2023-11-30 14:40:48 -03:00
parent fe5f0018b6
commit 7f8f805cc7

View file

@ -20,10 +20,10 @@ abstract class ReceiveOptionViewModelBase with Store {
? [ReceivePageOption.mainnet]
: walletType == WalletType.bitcoin
? [
bitcoin.AddressType.p2pkh,
bitcoin.AddressType.p2wpkh,
bitcoin.AddressType.p2tr,
bitcoin.AddressType.p2sp,
bitcoin.AddressType.p2tr,
bitcoin.AddressType.p2pkh,
...ReceivePageOption.values.where((element) => element != ReceivePageOption.mainnet)
]
: ReceivePageOption.values;