mirror of
https://github.com/vacp2p/zerokit.git
synced 2025-01-31 08:48:23 +00:00
fix(rln): bubble the error
This commit is contained in:
parent
d939d276f9
commit
40265082ba
@ -135,7 +135,7 @@ impl RLN<'_> {
|
||||
}
|
||||
|
||||
pub fn init_tree_with_leaves<R: Read>(&mut self, input_data: R) -> io::Result<()> {
|
||||
return self.set_leaves_from(0, input_data);
|
||||
return self.set_leaves_from(0, input_data)?;
|
||||
}
|
||||
|
||||
// Set input leaf to the next available index
|
||||
|
Loading…
x
Reference in New Issue
Block a user