mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 11:59:30 +00:00
clean up
This commit is contained in:
parent
3b2260aab2
commit
f290743d31
1 changed files with 0 additions and 14 deletions
|
@ -119,9 +119,6 @@ class _TransactionsV2ListState extends ConsumerState<TransactionsV2List> {
|
|||
final thisTime =
|
||||
DateTime.fromMillisecondsSinceEpoch(tx.timestamp * 1000);
|
||||
|
||||
print(
|
||||
"DIFFERERNCE: ${prevTime.difference(thisTime).inMinutes}");
|
||||
|
||||
if (prevTime.difference(thisTime).inMinutes > 30) {
|
||||
_txns.add(FusionTxGroup(fusions));
|
||||
fusions = [tx];
|
||||
|
@ -146,17 +143,6 @@ class _TransactionsV2ListState extends ConsumerState<TransactionsV2List> {
|
|||
}
|
||||
}
|
||||
|
||||
// sanity check
|
||||
int count = 0;
|
||||
for (final e in _txns) {
|
||||
if (e is TransactionV2) {
|
||||
count++;
|
||||
} else if (e is FusionTxGroup) {
|
||||
count += e.transactions.length;
|
||||
}
|
||||
}
|
||||
assert(count == _transactions.length);
|
||||
|
||||
return RefreshIndicator(
|
||||
onRefresh: () async {
|
||||
final managerProvider = ref
|
||||
|
|
Loading…
Reference in a new issue