aboutsummaryrefslogtreecommitdiff
path: root/src/util/time.cpp
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-03-30 15:19:01 +0800
committerfanquake <fanquake@gmail.com>2021-05-31 15:11:18 +0800
commitfeb72e5432e7a44b7f48cdab8da2c95edcec11c2 (patch)
tree37a755536ac1746246ca991aec5c06dfd7fbefab /src/util/time.cpp
parentd7a6bba94935a26e303e1c99eb2d4cb5f8f97f5b (diff)
downloadbitcoin-feb72e5432e7a44b7f48cdab8da2c95edcec11c2.tar.xz
scripted-diff: rename GetSystemTimeInSeconds to GetTimeSeconds
-BEGIN VERIFY SCRIPT- sed -i -e 's/GetSystemTimeInSeconds/GetTimeSeconds/g' $(git grep -l GetSystemTimeInSeconds src) -END VERIFY SCRIPT-
Diffstat (limited to 'src/util/time.cpp')
-rw-r--r--src/util/time.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/time.cpp b/src/util/time.cpp
index e6f0986a39..eda710b12c 100644
--- a/src/util/time.cpp
+++ b/src/util/time.cpp
@@ -124,7 +124,7 @@ int64_t GetTimeMicros()
return int64_t{GetSystemTime<std::chrono::microseconds>().count()};
}
-int64_t GetSystemTimeInSeconds()
+int64_t GetTimeSeconds()
{
return int64_t{GetSystemTime<std::chrono::seconds>().count()};
}