Skip to content

Commit c6c35db

Browse files
committed
wallet: change ScanForWalletTransactions to use Ticks()
1 parent 316afb1 commit c6c35db

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/wallet/wallet.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1807,8 +1807,7 @@ CWallet::ScanResult CWallet::ScanForWalletTransactions(const uint256& start_bloc
18071807
WalletLogPrintf("Rescan interrupted by shutdown request at block %d. Progress=%f\n", block_height, progress_current);
18081808
result.status = ScanResult::USER_ABORT;
18091809
} else {
1810-
auto duration_milliseconds = std::chrono::duration_cast<std::chrono::milliseconds>(reserver.now() - start_time);
1811-
WalletLogPrintf("Rescan completed in %15dms\n", duration_milliseconds.count());
1810+
WalletLogPrintf("Rescan completed in %15dms\n", Ticks<std::chrono::milliseconds>(reserver.now() - start_time));
18121811
}
18131812
return result;
18141813
}

0 commit comments

Comments
 (0)