From 8ff36e95a11775778e3e1f14cda98b464bd81ad5 Mon Sep 17 00:00:00 2001 From: Mateusz Jasiuk Date: Mon, 24 Feb 2025 15:56:48 +0100 Subject: [PATCH] feat: unwrap or default for batch --- shared/src/block_result.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/src/block_result.rs b/shared/src/block_result.rs index 12eab656..65b9d9fc 100644 --- a/shared/src/block_result.rs +++ b/shared/src/block_result.rs @@ -328,7 +328,7 @@ impl TxAttributesType { serde_json::from_str(batch_result).unwrap(); BatchResults::from(tx_result) }) - .unwrap(), + .unwrap_or_default(), info: attributes.get("info").unwrap().to_owned(), })), }