Skip to content

Commit 0f7fd7c

Browse files
committed
VerifyNdSiIntegrity: Allow other modules to construct snippet
Without public fields, or a constructor, other modules or crates cannot construct instances of this snippet. And we want to use them downstream in neptune-core.
1 parent fc7a22d commit 0f7fd7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasm-lib/src/structure/verify_nd_si_integrity.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::library::Library;
88
use crate::prelude::BasicSnippet;
99
use crate::prelude::TasmObject;
1010

11-
#[derive(Clone, Debug)]
11+
#[derive(Clone, Debug, Default)]
1212
pub struct VerifyNdSiIntegrity<T: TasmObject + BFieldCodec + Clone + Debug> {
1313
_phantom_data: PhantomData<T>,
1414
}

0 commit comments

Comments
 (0)