Page MenuHomePhabricator

[avalanche] Fix conflict time initializer to zero
ClosedPublic

Authored by sdulfari on Jul 15 2022, 19:06.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC0ba75da2ed39: [avalanche] Fix conflict time initializer to zero
Summary

std::chrono::duration's default constructor does not initialize to zero. See rationale by the author here: https://groups.google.com/a/isocpp.org/g/std-discussion/c/OcGX7Yj3meI

We saw this break during live testing. A followup patch will include a linter so this issue does not occur in the future.

Test Plan
ninja check check-functional

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable