From 1c159806d966963ecec8ddd76875a1532e07da3c Mon Sep 17 00:00:00 2001 From: Sosthene Date: Tue, 15 Jul 2025 11:20:40 +0200 Subject: [PATCH] Don't force ProcessState::public_data type to Record --- src/process.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/process.rs b/src/process.rs index a2c7429..c3d5bdd 100644 --- a/src/process.rs +++ b/src/process.rs @@ -24,8 +24,7 @@ pub struct ProcessState { #[tsify(type = "Record")] pub keys: BTreeMap, // We may not always have all the keys pub validation_tokens: Vec, // Signature of the hash of pcd_commitment tagged with some decision like "yes" or "no" - #[tsify(type = "Record")] - pub public_data: Pcd, + pub public_data: Pcd, #[tsify(type = "Record")] pub roles: Roles, }