Merge rust-bitcoin/rust-bitcoin#3455: Use new Sequence::ENABLE_RBF_AND_LOCKTIME
5e0a07e74f
Use new Sequence::ENABLE_RBF_AND_LOCKTIME (Tobin C. Harding) Pull request description: We just renamed this and forgot to use the new name. This should have been caught by CI. ACKs for top commit: apoelstra: ACK5e0a07e74f
successfully ran local tests Tree-SHA512: 0830184f3afa7b42d53460444637d16bace98438fac14a53e3c6f2fdb5b801847f3864d104be2e5311131b2db432e7ef8dd20ad833420ea05303fc93bd4dc68c
This commit is contained in:
commit
0f887707ea
|
@ -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())),
|
||||||
|
|
Loading…
Reference in New Issue