Unnecessary assignment.
currentHeight is zero only for RegTest.
MODIFY
WalletWasabi/Blockchain/BlockFilters/IndexBuilderService.cs
WalletWasabi/Blockchain/BlockFilters/IndexBuilderService.cs
@@ -117,7 +117,7 @@ namespace WalletWasabi.Blockchain.BlockFilters
{
SyncInfo syncInfo = await GetSyncInfoAsync().ConfigureAwait(false);
- uint currentHeight = 0;
+ uint currentHeight;
uint256? currentHash = null;
using (await IndexLock.LockAsync())
{

Unnecessary assignment.

currentHeight is zero only for RegTest.

Signed-off-by: Kiminuo <kiminuo@protonmail.com>