mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Do not pass time getter to Chainstate helpers
This commit is contained in:
parent
002411dc53
commit
fa4ee53dca
5 changed files with 6 additions and 11 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue