Skip to content

Commit dec1053

Browse files
committed
entry: u64 is absurd, use i32 like moss.
Signed-off-by: Ikey Doherty <[email protected]>
1 parent 6e4a06d commit dec1053

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

blsforme/src/entry.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub struct Entry<'a> {
2727
pub(crate) cmdline: Vec<CmdlineEntry>,
2828

2929
/// Unique state ID for this entry
30-
pub(crate) state_id: Option<u64>,
30+
pub(crate) state_id: Option<i32>,
3131
}
3232

3333
impl<'a> Entry<'a> {
@@ -74,7 +74,7 @@ impl<'a> Entry<'a> {
7474

7575
/// With the given state ID
7676
/// Used by moss to link to the unique transaction ID on disk
77-
pub fn with_state_id(self, state_id: u64) -> Self {
77+
pub fn with_state_id(self, state_id: i32) -> Self {
7878
Self {
7979
state_id: Some(state_id),
8080
..self

0 commit comments

Comments
 (0)