From 58cc2a0453df87a3fa17dc1586f2cf91f72a9ad7 Mon Sep 17 00:00:00 2001 From: Hao Xu Date: Tue, 16 Jun 2026 01:51:16 +0800 Subject: [PATCH] test: make TestChain100Setup's m_clock timestamp more readable The timestamp 1598887952 is used as the initial value of the node's mocked wall-clock in TestChain100Setup. Comment its UTC date to make the magic number more readable. --- src/test/util/setup_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/util/setup_common.h b/src/test/util/setup_common.h index 72a3a620d5a..d03f5baefb8 100644 --- a/src/test/util/setup_common.h +++ b/src/test/util/setup_common.h @@ -227,7 +227,7 @@ struct TestChain100Setup : public TestingSetup { */ std::vector PopulateMempool(FastRandomContext& det_rand, size_t num_transactions, bool submit); - FakeNodeClock m_clock{std::chrono::seconds{1598887952}}; + FakeNodeClock m_clock{std::chrono::seconds{1598887952}}; // 2020-08-31, arbitrary std::vector m_coinbase_txns; // For convenience, coinbase transactions CKey coinbaseKey; // private/public key needed to spend coinbase transactions };