mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-11 05:04:35 +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 =
|
final thisTime =
|
||||||
DateTime.fromMillisecondsSinceEpoch(tx.timestamp * 1000);
|
DateTime.fromMillisecondsSinceEpoch(tx.timestamp * 1000);
|
||||||
|
|
||||||
print(
|
|
||||||
"DIFFERERNCE: ${prevTime.difference(thisTime).inMinutes}");
|
|
||||||
|
|
||||||
if (prevTime.difference(thisTime).inMinutes > 30) {
|
if (prevTime.difference(thisTime).inMinutes > 30) {
|
||||||
_txns.add(FusionTxGroup(fusions));
|
_txns.add(FusionTxGroup(fusions));
|
||||||
fusions = [tx];
|
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(
|
return RefreshIndicator(
|
||||||
onRefresh: () async {
|
onRefresh: () async {
|
||||||
final managerProvider = ref
|
final managerProvider = ref
|
||||||
|
|
Loading…
Reference in a new issue