fix: build

This commit is contained in:
Rafael Saes 2024-03-05 12:33:03 -03:00
parent 0832e21638
commit e8abd86d3c

View file

@ -181,7 +181,7 @@ class CWBitcoin extends Bitcoin {
} }
@override @override
ReceivePageOption getSelectedAddressType(Object wallet) { BitcoinReceivePageOption getSelectedAddressType(Object wallet) {
final bitcoinWallet = wallet as ElectrumWallet; final bitcoinWallet = wallet as ElectrumWallet;
return BitcoinReceivePageOption.fromType(bitcoinWallet.walletAddresses.addressPageType); return BitcoinReceivePageOption.fromType(bitcoinWallet.walletAddresses.addressPageType);
} }
@ -210,6 +210,7 @@ class CWBitcoin extends Bitcoin {
default: default:
return SegwitAddresType.p2wpkh; return SegwitAddresType.p2wpkh;
} }
}
List<BitcoinSilentPaymentAddressRecord> getSilentAddresses(Object wallet) { List<BitcoinSilentPaymentAddressRecord> getSilentAddresses(Object wallet) {
final bitcoinWallet = wallet as ElectrumWallet; final bitcoinWallet = wallet as ElectrumWallet;