diff --git a/src/pcd.rs b/src/pcd.rs index 8e6c5c1..18eb3ec 100644 --- a/src/pcd.rs +++ b/src/pcd.rs @@ -221,7 +221,7 @@ impl PcdCommitments { Ok(Self(field2hash)) } - pub fn empty() -> Self { + pub fn new_empty() -> Self { Self(BTreeMap::new()) } diff --git a/src/prd.rs b/src/prd.rs index 3971c3c..a4fc06f 100644 --- a/src/prd.rs +++ b/src/prd.rs @@ -78,7 +78,7 @@ impl Prd { Self { prd_type: PrdType::Connect, process_id: OutPoint::null(), - pcd_commitments: PcdCommitments::empty(), + pcd_commitments: PcdCommitments::new_empty(), sender, validation_tokens, keys: BTreeMap::new(),