diff options
author | fanquake <fanquake@gmail.com> | 2021-03-30 15:19:01 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-05-31 15:11:18 +0800 |
commit | feb72e5432e7a44b7f48cdab8da2c95edcec11c2 (patch) | |
tree | 37a755536ac1746246ca991aec5c06dfd7fbefab /src/bitcoin-cli.cpp | |
parent | d7a6bba94935a26e303e1c99eb2d4cb5f8f97f5b (diff) |
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/bitcoin-cli.cpp')
-rw-r--r-- | src/bitcoin-cli.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-cli.cpp b/src/bitcoin-cli.cpp index 4a4710ea3a..c5840b2098 100644 --- a/src/bitcoin-cli.cpp +++ b/src/bitcoin-cli.cpp @@ -418,7 +418,7 @@ private: if (conn_type == "addr-fetch") return "addr"; return ""; } - const int64_t m_time_now{GetSystemTimeInSeconds()}; + const int64_t m_time_now{GetTimeSeconds()}; public: static constexpr int ID_PEERINFO = 0; |