Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanRory committed Jul 12, 2021
1 parent 4b8d4d1 commit 324d4ab
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions lib/src/stores/action_list/action_list_store.dart
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,8 @@ abstract class ActionListBase with Store {

Future _updateTransactionsList() async {
// await _history.refresh();
print('updateTransactionsList start');
final _transactions = await _history.getAll();
await _setTransactions(_transactions);
print('updateTransactionsList finish');
}

Future _onWalletChanged(Wallet wallet) async {
Expand Down
7 changes: 0 additions & 7 deletions lib/src/wallet/oxen/oxen_wallet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -162,17 +162,13 @@ class OxenWallet extends Wallet {

@override
Future<int> getFullBalance() async {
print('getFullBalance() start');
final balance = await oxen_wallet.getFullBalance(accountIndex: _account.value.id);
print('getFullBalance() finish');
return balance;
}

@override
Future<int> getUnlockedBalance() async {
print('getUnlockedBalance() start');
final balance = await oxen_wallet.getUnlockedBalance(accountIndex: _account.value.id);
print('getUnlockedBalance() finish');
return balance;
}

Expand Down Expand Up @@ -352,9 +348,7 @@ class OxenWallet extends Wallet {
}

Future askForUpdateTransactionHistory() async {
print('askForUpdateTransactionHistory() start');
await getHistory().update();
print('askForUpdateTransactionHistory() finish');
}

void changeCurrentSubaddress(Subaddress subaddress) =>
Expand All @@ -375,7 +369,6 @@ class OxenWallet extends Wallet {
Future _onNewBlock(int height, int blocksLeft, double ptc, bool isRefreshing) async {
try {
if (isRefreshing) {
print('is refreshing!!!!');
_syncStatus.add(SyncingSyncStatus(blocksLeft, ptc));
} else {
await askForUpdateTransactionHistory();
Expand Down

0 comments on commit 324d4ab

Please sign in to comment.