break out from cycle, set block
MODIFY
WalletWasabi/Services/WalletService.cs
WalletWasabi/Services/WalletService.cs
@@ -689,8 +689,9 @@ namespace WalletWasabi.Services
{
if (foundBlockFromCore != null && !foundBlockFromCore.HeaderOnly)
{
- Logger.LogInfo<WalletService>($"Block acquired from disk (source: Bitcoin Core): {block.GetHash()}");
- return foundBlockFromCore;
+ Logger.LogInfo<WalletService>($"Block acquired from disk (source: Bitcoin Core): {hash}");
+ block = foundBlockFromCore;
+ break;
}
}

break out from cycle, set block