compute MainPod.id from pub_statements; and introduce the trait ToFields (#35)
* compute MainPod.id from pub_statements; and introduce the trait `ToFields` Compute MainPod.id from pub_statements hash; for it, introduce the trait `ToFields` at the middleware and implement it for the Statement related types. * cleaner statements tofield iter Co-authored-by: Ahmad Afuni <root@ahmadafuni.com> --------- Co-authored-by: Ahmad Afuni <root@ahmadafuni.com>
This commit is contained in:
parent
8945d7f8a1
commit
ca1be65b85
3 changed files with 99 additions and 19 deletions
|
|
@ -343,7 +343,6 @@ impl MainPodBuilder {
|
|||
};
|
||||
let (statements, operations, public_statements) = compiler.compile(inputs)?;
|
||||
|
||||
// TODO: Add API to specify public/private statement
|
||||
let inputs = MainPodInputs {
|
||||
signed_pods: &self.input_signed_pods.iter().map(|p| &p.pod).collect_vec(),
|
||||
main_pods: &self.input_main_pods.iter().map(|p| &p.pod).collect_vec(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue