Skip to content
Snippets Groups Projects
Commit a33cd4ff authored by vjrj's avatar vjrj
Browse files

Test fix

parent 04b98d5c
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,7 @@ import '../../../g1/api.dart'; ...@@ -4,6 +4,7 @@ import '../../../g1/api.dart';
import '../../../g1/transaction_parser.dart'; import '../../../g1/transaction_parser.dart';
import '../../main.dart'; import '../../main.dart';
import '../../shared_prefs.dart'; import '../../shared_prefs.dart';
import '../../ui/ui_helpers.dart';
import 'node_list_cubit.dart'; import 'node_list_cubit.dart';
import 'transaction.dart'; import 'transaction.dart';
...@@ -40,8 +41,7 @@ class TransactionsCubit extends HydratedCubit<TransactionsAndBalanceState> { ...@@ -40,8 +41,7 @@ class TransactionsCubit extends HydratedCubit<TransactionsAndBalanceState> {
_balanceAmount = currentBal; _balanceAmount = currentBal;
})); */ })); */
logger('Loading transactions'); logger('Loading transactions');
const bool debugging = true; final String txData = txDebugging
final String txData = debugging
? await getTxHistory('6DrGg8cftpkgffv4Y4Lse9HSjgc8coEQor3yvMPHAnVH') ? await getTxHistory('6DrGg8cftpkgffv4Y4Lse9HSjgc8coEQor3yvMPHAnVH')
: await getTxHistory(SharedPreferencesHelper().getPubKey()); : await getTxHistory(SharedPreferencesHelper().getPubKey());
final TransactionsAndBalanceState state = transactionParser(txData); final TransactionsAndBalanceState state = transactionParser(txData);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment