add deserialization of nullifier and transaction from snapshot

This commit is contained in:
Rostyslav Tyshko 2025-05-30 15:23:41 -04:00
parent 87e6363686
commit 9b8ddb0580

View File

@ -70,6 +70,9 @@ impl NodeBlockStore {
}
pub fn get_snapshot_transaction(&self) -> Result<HashStorageMerkleTree<Transaction>> {
Ok(serde_json::from_slice(&self.dbio.get_snapshot_transaction()?)?)
}
}
#[cfg(test)]