diff options
Diffstat (limited to 'src/util/time.cpp')
-rw-r--r-- | src/util/time.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/time.cpp b/src/util/time.cpp index 295806c54a..2589ec12a0 100644 --- a/src/util/time.cpp +++ b/src/util/time.cpp @@ -53,9 +53,9 @@ void SetMockTime(int64_t nMockTimeIn) nMockTime.store(nMockTimeIn, std::memory_order_relaxed); } -int64_t GetMockTime() +std::chrono::seconds GetMockTime() { - return nMockTime.load(std::memory_order_relaxed); + return std::chrono::seconds(nMockTime.load(std::memory_order_relaxed)); } int64_t GetTimeMillis() |