We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f947d1 commit 122ecc6Copy full SHA for 122ecc6
1 file changed
consensus/src/marshal/core/actor.rs
@@ -90,14 +90,14 @@ impl ApplicationFloor {
90
}
91
92
93
- fn round_restore_height(self) -> Height {
+ const fn round_restore_height(self) -> Height {
94
match self {
95
Self::BeforeGenesis => Height::zero(),
96
Self::Acknowledged(height) => height.next(),
97
98
99
100
- fn next_dispatch_height(self) -> Height {
+ const fn next_dispatch_height(self) -> Height {
101
102
103
0 commit comments