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/fuzz/util.cpp | |
parent | 973c39029808a20b9afc244559a92e9d700d3824 (diff) | |
download | bitcoin-fa4339e4c1bb60e0d9263d4f0fe65d03aad52f88.tar.xz |
Extract CTxIn::MAX_SEQUENCE_NONFINAL constant
Diffstat (limited to 'src/test/fuzz/util.cpp')
-rw-r--r-- | src/test/fuzz/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/util.cpp b/src/test/fuzz/util.cpp index 47c2be3faa..2514636d6e 100644 --- a/src/test/fuzz/util.cpp +++ b/src/test/fuzz/util.cpp @@ -408,7 +408,7 @@ uint32_t ConsumeSequence(FuzzedDataProvider& fuzzed_data_provider) noexcept return fuzzed_data_provider.ConsumeBool() ? fuzzed_data_provider.PickValueInArray({ CTxIn::SEQUENCE_FINAL, - CTxIn::SEQUENCE_FINAL - 1, + CTxIn::MAX_SEQUENCE_NONFINAL, MAX_BIP125_RBF_SEQUENCE, }) : fuzzed_data_provider.ConsumeIntegral<uint32_t>(); |