diff options
author | MarcoFalke <falke.marco@gmail.com> | 2022-01-10 14:48:13 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2022-01-26 15:10:44 +0100 |
commit | fa4339e4c1bb60e0d9263d4f0fe65d03aad52f88 (patch) | |
tree | 2247ad0f3d9b809b95c32c76ffcee7d991f34f51 /src/test/miner_tests.cpp | |
parent | 973c39029808a20b9afc244559a92e9d700d3824 (diff) |
Extract CTxIn::MAX_SEQUENCE_NONFINAL constant
Diffstat (limited to 'src/test/miner_tests.cpp')
-rw-r--r-- | src/test/miner_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/miner_tests.cpp b/src/test/miner_tests.cpp index e07eb95856..c453dae701 100644 --- a/src/test/miner_tests.cpp +++ b/src/test/miner_tests.cpp @@ -459,7 +459,7 @@ BOOST_AUTO_TEST_CASE(CreateNewBlock_validity) // absolute height locked tx.vin[0].prevout.hash = txFirst[2]->GetHash(); - tx.vin[0].nSequence = CTxIn::SEQUENCE_FINAL - 1; + tx.vin[0].nSequence = CTxIn::MAX_SEQUENCE_NONFINAL; prevheights[0] = baseheight + 3; tx.nLockTime = m_node.chainman->ActiveChain().Tip()->nHeight + 1; hash = tx.GetHash(); |