Rename PcdCommitments::emtpy() to new_empty()
This commit is contained in:
parent
4d9b03ff18
commit
7babbc2a74
@ -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())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user