Rename PcdCommitments::emtpy() to new_empty()

This commit is contained in:
NicolasCantu 2025-03-13 14:28:51 +01:00
parent 4d9b03ff18
commit 7babbc2a74
2 changed files with 2 additions and 2 deletions

View File

@ -221,7 +221,7 @@ impl PcdCommitments {
Ok(Self(field2hash)) Ok(Self(field2hash))
} }
pub fn empty() -> Self { pub fn new_empty() -> Self {
Self(BTreeMap::new()) Self(BTreeMap::new())
} }

View File

@ -78,7 +78,7 @@ impl Prd {
Self { Self {
prd_type: PrdType::Connect, prd_type: PrdType::Connect,
process_id: OutPoint::null(), process_id: OutPoint::null(),
pcd_commitments: PcdCommitments::empty(), pcd_commitments: PcdCommitments::new_empty(),
sender, sender,
validation_tokens, validation_tokens,
keys: BTreeMap::new(), keys: BTreeMap::new(),