Rename PcdCommitments::emtpy() to new_empty()

This commit is contained in:
NicolasCantu 2025-03-13 14:28:51 +01:00 committed by Nicolas Cantu
parent dc55810e44
commit c7c6a1b6a4
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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(),