diff options
| author | Russell Yanofsky <[email protected]> | 2017-03-02 12:20:34 -0500 |
|---|---|---|
| committer | Russell Yanofsky <[email protected]> | 2017-03-03 13:51:41 -0500 |
| commit | e57a1fd8999800b3fc744d45bb96354cae294032 (patch) | |
| tree | e3c79a873e1f83eefe2f86506b87125a9c02679a /src/wallet/test/wallet_tests.cpp | |
| parent | Merge #9891: depends: make osx output deterministic (diff) | |
| download | discoin-e57a1fd8999800b3fc744d45bb96354cae294032.tar.xz discoin-e57a1fd8999800b3fc744d45bb96354cae294032.zip | |
Define 7200 second timestamp window constant
Diffstat (limited to 'src/wallet/test/wallet_tests.cpp')
| -rw-r--r-- | src/wallet/test/wallet_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/test/wallet_tests.cpp b/src/wallet/test/wallet_tests.cpp index 7ac2112dd..34a060854 100644 --- a/src/wallet/test/wallet_tests.cpp +++ b/src/wallet/test/wallet_tests.cpp @@ -415,7 +415,7 @@ BOOST_FIXTURE_TEST_CASE(rescan, TestChain100Setup) CKey futureKey; futureKey.MakeNewKey(true); key.pushKV("scriptPubKey", HexStr(GetScriptForRawPubKey(futureKey.GetPubKey()))); - key.pushKV("timestamp", newTip->GetBlockTimeMax() + 7200); + key.pushKV("timestamp", newTip->GetBlockTimeMax() + TIMESTAMP_WINDOW); key.pushKV("internal", UniValue(true)); keys.push_back(key); JSONRPCRequest request; |