use SetBestHeight
MODIFY
WalletWasabi/Blockchain/Keys/KeyManager.cs
WalletWasabi/Blockchain/Keys/KeyManager.cs
@@ -607,14 +607,6 @@ namespace WalletWasabi.Blockchain.Keys
}
}
- public void ResetHeight()
- {
- lock (BlockchainStateLock)
- {
- BlockchainState.Height = new Height(0);
- }
- }
-
#region BlockchainState
public Height GetBestHeight()

MODIFY
WalletWasabi/Helpers/ImportWalletHelper.cs
WalletWasabi/Helpers/ImportWalletHelper.cs
@@ -32,7 +32,7 @@ namespace WalletWasabi.Helpers
km.SetIcon(WalletType.Coldcard);
}
- km.ResetHeight();
+ km.SetBestHeight(0);
return km;
}

use SetBestHeight