diff options
author | MacroFake <falke.marco@gmail.com> | 2022-05-18 18:31:19 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-05-18 18:44:04 +0200 |
commit | fa4ee53dca5ccf1b87f019f372ffc10528add943 (patch) | |
tree | 4ca3b355f22078aebc9cb08cac03df96cc2e90b1 /src/bitcoin-chainstate.cpp | |
parent | 002411dc53753b52fef645484258e8baf41585a1 (diff) | |
download | bitcoin-fa4ee53dca5ccf1b87f019f372ffc10528add943.tar.xz |
Do not pass time getter to Chainstate helpers
Diffstat (limited to 'src/bitcoin-chainstate.cpp')
-rw-r--r-- | src/bitcoin-chainstate.cpp | 3 |
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; |