From 9b8ddb05806a71046670ba73558f44e91be8de88 Mon Sep 17 00:00:00 2001 From: Rostyslav Tyshko Date: Fri, 30 May 2025 15:23:41 -0400 Subject: [PATCH] add deserialization of nullifier and transaction from snapshot --- node_core/src/chain_storage/block_store.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/node_core/src/chain_storage/block_store.rs b/node_core/src/chain_storage/block_store.rs index d0356e3..f8cb46a 100644 --- a/node_core/src/chain_storage/block_store.rs +++ b/node_core/src/chain_storage/block_store.rs @@ -70,6 +70,9 @@ impl NodeBlockStore { } + pub fn get_snapshot_transaction(&self) -> Result> { + Ok(serde_json::from_slice(&self.dbio.get_snapshot_transaction()?)?) + } } #[cfg(test)]