Skip to content

Commit 5901531

Browse files
committed
Use constant 7200 instead of TIMESTAMP_WINDOW for now
Until Bitcoin bitcoin#9908 gets backported
1 parent 4d3856b commit 5901531

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/test/wallet_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ BOOST_FIXTURE_TEST_CASE(importwallet_rescan, TestChain100Setup)
448448

449449
// Set key birthday to block time increased by the timestamp window, so
450450
// rescan will start at the block time.
451-
const int64_t KEY_TIME = BLOCK_TIME + TIMESTAMP_WINDOW;
451+
const int64_t KEY_TIME = BLOCK_TIME + 7200;
452452
SetMockTime(KEY_TIME);
453453
coinbaseTxns.emplace_back(*CreateAndProcessBlock({}, GetScriptForRawPubKey(coinbaseKey.GetPubKey())).vtx[0]);
454454

0 commit comments

Comments
 (0)