Use new Sequence::ENABLE_RBF_AND_LOCKTIME

We just renamed this and forgot to use the new name. This should have
been caught by CI.
This commit is contained in:
Tobin C. Harding 2024-10-11 11:42:52 +11:00
parent fe62d94ff7
commit 5e0a07e74f
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ impl<'a> Arbitrary<'a> for Sequence {
0 => Ok(Sequence::MAX), 0 => Ok(Sequence::MAX),
1 => Ok(Sequence::ZERO), 1 => Ok(Sequence::ZERO),
2 => Ok(Sequence::MIN_NO_RBF), 2 => Ok(Sequence::MIN_NO_RBF),
3 => Ok(Sequence::ENABLE_RBF_NO_LOCKTIME), 3 => Ok(Sequence::ENABLE_LOCKTIME_AND_RBF),
4 => Ok(Sequence::from_consensus(relative::Height::MIN.to_consensus_u32())), 4 => Ok(Sequence::from_consensus(relative::Height::MIN.to_consensus_u32())),
5 => Ok(Sequence::from_consensus(relative::Height::MAX.to_consensus_u32())), 5 => Ok(Sequence::from_consensus(relative::Height::MAX.to_consensus_u32())),
6 => Ok(Sequence::from_consensus(relative::Time::MIN.to_consensus_u32())), 6 => Ok(Sequence::from_consensus(relative::Time::MIN.to_consensus_u32())),