Skip to content

Commit a322271

Browse files
committed
fixed epoch3.2 unit tests
1 parent 841c449 commit a322271

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stacks-common/src/types/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ impl CoinbaseInterval {
256256

257257
impl StacksEpochId {
258258
pub fn latest() -> StacksEpochId {
259-
StacksEpochId::Epoch31
259+
StacksEpochId::Epoch32
260260
}
261261

262262
/// In this epoch, how should the mempool perform garbage collection?
@@ -584,6 +584,7 @@ impl TryFrom<u32> for StacksEpochId {
584584
x if x == StacksEpochId::Epoch25 as u32 => Ok(StacksEpochId::Epoch25),
585585
x if x == StacksEpochId::Epoch30 as u32 => Ok(StacksEpochId::Epoch30),
586586
x if x == StacksEpochId::Epoch31 as u32 => Ok(StacksEpochId::Epoch31),
587+
x if x == StacksEpochId::Epoch32 as u32 => Ok(StacksEpochId::Epoch32),
587588
_ => Err("Invalid epoch"),
588589
}
589590
}

0 commit comments

Comments
 (0)