aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoin-chainstate.cpp
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-05-18 18:31:19 +0200
committerMacroFake <falke.marco@gmail.com>2022-05-18 18:44:04 +0200
commitfa4ee53dca5ccf1b87f019f372ffc10528add943 (patch)
tree4ca3b355f22078aebc9cb08cac03df96cc2e90b1 /src/bitcoin-chainstate.cpp
parent002411dc53753b52fef645484258e8baf41585a1 (diff)
Do not pass time getter to Chainstate helpers
Diffstat (limited to 'src/bitcoin-chainstate.cpp')
-rw-r--r--src/bitcoin-chainstate.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bitcoin-chainstate.cpp b/src/bitcoin-chainstate.cpp
index ab805ac1ec..2632404418 100644
--- a/src/bitcoin-chainstate.cpp
+++ b/src/bitcoin-chainstate.cpp
@@ -93,8 +93,7 @@ int main(int argc, char* argv[])
false,
chainparams.GetConsensus(),
DEFAULT_CHECKBLOCKS,
- DEFAULT_CHECKLEVEL,
- /*get_unix_time_seconds=*/static_cast<int64_t (*)()>(GetTime));
+ DEFAULT_CHECKLEVEL);
if (maybe_verify_error.has_value()) {
std::cerr << "Failed to verify loaded Chain state from your datadir." << std::endl;
goto epilogue;