Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
willyfromtheblock committed Sep 12, 2023
1 parent 7672e50 commit ec6f378
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions lib/providers/wallet_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -339,23 +339,6 @@ class WalletProvider with ChangeNotifier {
return targetWallet?.status;
}

Future<List> getUnkownTxFromList(String identifier, List newTxList) async {
final storedTransactions = await getWalletTransactions(identifier);
final unkownTx = [];
for (final newTx in newTxList) {
bool found = false;
for (final storedTx in storedTransactions) {
if (storedTx.txid == newTx['tx_hash']) {
found = true;
}
}
if (found == false) {
unkownTx.add(newTx['tx_hash']);
}
}
return unkownTx;
}

Future<void> updateWalletBalance(String identifier) async {
final openWallet = getSpecificCoinWallet(identifier);

Expand Down

0 comments on commit ec6f378

Please sign in to comment.