mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 12:29:51 +00:00
feat(cw_tari): Add sync status tracking during recovery process
This commit is contained in:
parent
53d4aa8a97
commit
c19c1fdfb4
1 changed files with 2 additions and 0 deletions
|
@ -117,6 +117,8 @@ abstract class TariWalletBase
|
|||
print("[Recovery] Connection to base node failed. Retry ${arg1}/${arg2}");
|
||||
break;
|
||||
case 3:
|
||||
final blocksLeft = arg2 - arg1;
|
||||
syncStatus = SyncingSyncStatus(blocksLeft, arg1 / arg2);
|
||||
print("[Recovery] Scanning progress: ${arg1}/${arg2} blocks");
|
||||
isRecovering = false;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue