diff --git a/lib/bitcoin/cw_bitcoin.dart b/lib/bitcoin/cw_bitcoin.dart index 3e86ad381..b27605856 100644 --- a/lib/bitcoin/cw_bitcoin.dart +++ b/lib/bitcoin/cw_bitcoin.dart @@ -181,7 +181,7 @@ class CWBitcoin extends Bitcoin { } @override - ReceivePageOption getSelectedAddressType(Object wallet) { + BitcoinReceivePageOption getSelectedAddressType(Object wallet) { final bitcoinWallet = wallet as ElectrumWallet; return BitcoinReceivePageOption.fromType(bitcoinWallet.walletAddresses.addressPageType); } @@ -210,6 +210,7 @@ class CWBitcoin extends Bitcoin { default: return SegwitAddresType.p2wpkh; } + } List getSilentAddresses(Object wallet) { final bitcoinWallet = wallet as ElectrumWallet;