New_response takes multiple Proof
This commit is contained in:
parent
233d7f979d
commit
9fe7daecb0
@ -86,14 +86,14 @@ impl Prd {
|
||||
pub fn new_response(
|
||||
root_commitment: OutPoint,
|
||||
sender: String,
|
||||
validation_token: Proof,
|
||||
validation_tokens: Vec<Proof>,
|
||||
pcd_commitment: AnkPcdHash,
|
||||
) -> Self {
|
||||
Self {
|
||||
prd_type: PrdType::Response,
|
||||
root_commitment: root_commitment.to_string(),
|
||||
sender,
|
||||
validation_tokens: vec![validation_token],
|
||||
validation_tokens: validation_tokens,
|
||||
keys: Map::new(),
|
||||
payload: pcd_commitment.to_string(),
|
||||
proof: None,
|
||||
|
Loading…
x
Reference in New Issue
Block a user