remove unused function

This commit is contained in:
julian 2023-10-13 12:52:15 -06:00
parent 129c760180
commit fbf8e60094
2 changed files with 0 additions and 8 deletions

View file

@ -141,7 +141,6 @@ class BitcoinCashWallet extends CoinServiceAPI
db: db, db: db,
getWalletCachedElectrumX: () => cachedElectrumXClient, getWalletCachedElectrumX: () => cachedElectrumXClient,
getNextUnusedChangeAddress: _getUnusedChangeAddresses, getNextUnusedChangeAddress: _getUnusedChangeAddresses,
getTxCountForAddress: getTxCount,
getChainHeight: () async => chainHeight, getChainHeight: () async => chainHeight,
mnemonic: mnemonicString, mnemonic: mnemonicString,
mnemonicPassphrase: mnemonicPassphrase, mnemonicPassphrase: mnemonicPassphrase,

View file

@ -50,9 +50,6 @@ mixin FusionWalletInterface {
late final Future<List<Address>> Function({int numberOfAddresses}) late final Future<List<Address>> Function({int numberOfAddresses})
_getNextUnusedChangeAddresses; _getNextUnusedChangeAddresses;
late final CachedElectrumX Function() _getWalletCachedElectrumX; late final CachedElectrumX Function() _getWalletCachedElectrumX;
late final Future<int> Function({
required String address,
}) _getTxCountForAddress;
late final Future<int> Function() _getChainHeight; late final Future<int> Function() _getChainHeight;
/// Initializes the FusionWalletInterface mixin. /// Initializes the FusionWalletInterface mixin.
@ -65,9 +62,6 @@ mixin FusionWalletInterface {
required Future<List<Address>> Function({int numberOfAddresses}) required Future<List<Address>> Function({int numberOfAddresses})
getNextUnusedChangeAddress, getNextUnusedChangeAddress,
required CachedElectrumX Function() getWalletCachedElectrumX, required CachedElectrumX Function() getWalletCachedElectrumX,
required Future<int> Function({
required String address,
}) getTxCountForAddress,
required Future<int> Function() getChainHeight, required Future<int> Function() getChainHeight,
required Future<String?> mnemonic, required Future<String?> mnemonic,
required Future<String?> mnemonicPassphrase, required Future<String?> mnemonicPassphrase,
@ -80,7 +74,6 @@ mixin FusionWalletInterface {
_getNextUnusedChangeAddresses = getNextUnusedChangeAddress; _getNextUnusedChangeAddresses = getNextUnusedChangeAddress;
_torService = FusionTorService.sharedInstance; _torService = FusionTorService.sharedInstance;
_getWalletCachedElectrumX = getWalletCachedElectrumX; _getWalletCachedElectrumX = getWalletCachedElectrumX;
_getTxCountForAddress = getTxCountForAddress;
_getChainHeight = getChainHeight; _getChainHeight = getChainHeight;
_mnemonic = mnemonic; _mnemonic = mnemonic;
_mnemonicPassphrase = mnemonicPassphrase; _mnemonicPassphrase = mnemonicPassphrase;