Skip to content

Commit aa25d32

Browse files
committed
miner: removing a not needed block requests tracking.
1 parent 087a4d7 commit aa25d32

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/miner.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -529,12 +529,6 @@ bool ProcessBlockFound(CBlock* pblock, CWallet& wallet, Optional<CReserveKey>& r
529529
if (reservekey)
530530
reservekey->KeepKey();
531531

532-
// Track how many getdata requests this block gets
533-
{
534-
LOCK(wallet.cs_wallet);
535-
wallet.mapRequestCount[pblock->GetHash()] = 0;
536-
}
537-
538532
// Inform about the new block
539533
GetMainSignals().BlockFound(pblock->GetHash());
540534

0 commit comments

Comments
 (0)