Extract CTxIn::MAX_SEQUENCE_NONFINAL constant

This commit is contained in:
MarcoFalke
2022-01-10 14:48:13 +01:00
parent 973c390298
commit fa4339e4c1
5 changed files with 32 additions and 12 deletions

View File

@@ -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>();