Don't sync new accounts

This commit is contained in:
Hanh 2021-09-27 22:09:41 +08:00
parent ddea58452c
commit d8494020eb
1 changed files with 2 additions and 4 deletions

View File

@ -887,10 +887,8 @@ abstract class _SyncStatus with Store {
@action
void setSyncedToLatestHeight() {
final anchorOffset = settings.anchorOffset;
final h = latestHeight - anchorOffset;
setSyncHeight(h);
WarpApi.rewindToHeight(h);
setSyncHeight(latestHeight);
WarpApi.skipToLastHeight();
}
}