Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: validation: cast now() to seconds for maxtipage comparison
Since faf4487, the maxtipage comparison in IsInitialBlockDownload() has been broken, since the NodeClock::now() time_point is in the system's native denomination (micrcoseconds). Without this patch, specifying the maximum allowable -maxtipage (9223372036854775807) results in a SIGABRT crash. Co-authored-by: MacroFake <falke.marco@gmail.com>
- Loading branch information