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/test/util_tests.cpp | |
parent | d7a6bba94935a26e303e1c99eb2d4cb5f8f97f5b (diff) | |
download | bitcoin-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/test/util_tests.cpp')
-rw-r--r-- | src/test/util_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/util_tests.cpp b/src/test/util_tests.cpp index aa95bc37e5..d463bcdd8e 100644 --- a/src/test/util_tests.cpp +++ b/src/test/util_tests.cpp @@ -182,7 +182,7 @@ BOOST_AUTO_TEST_CASE(util_FormatParseISO8601DateTime) BOOST_CHECK_EQUAL(ParseISO8601DateTime("1960-01-01T00:00:00Z"), 0); BOOST_CHECK_EQUAL(ParseISO8601DateTime("2011-09-30T23:36:17Z"), 1317425777); - auto time = GetSystemTimeInSeconds(); + auto time = GetTimeSeconds(); BOOST_CHECK_EQUAL(ParseISO8601DateTime(FormatISO8601DateTime(time)), time); } |