HomePhabricator

[util] Change GetMockTime to return chrono type instead of int

Description

[util] Change GetMockTime to return chrono type instead of int

Summary:
This is a backport of core#21121 [3/4]
https://github.com/bitcoin/bitcoin/pull/21121/commits/df6a5fc1dff3b1b7c2f2b67aad1ff17cac99f7b6

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D12108

Details

Provenance
Amiti Uttarwar <amiti@uttarwar.org>Authored on Feb 11 2021, 02:30
PiRKCommitted on Oct 4 2022, 14:18
PiRKPushed on Oct 4 2022, 14:19
Reviewer
Restricted Project
Differential Revision
D12108: [util] Change GetMockTime to return chrono type instead of int
Parents
rABC6b093d9d1299: [test] Throw error instead of segfaulting in failure scenario
Branches
Unknown
Tags
Unknown