setSnapshot method
void
setSnapshot(
- WalletState state
Set the cold-read state. Also moves _current so the two stay coherent —
see snapshot for why the fake must not present a split the core cannot.
Implementation
void setSnapshot(WalletState state) {
_snapshot = state;
_current = state.syncStatus;
}