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)]