adding values to zkcircuit on lisp.rs

This commit is contained in:
ada
2020-10-30 00:46:04 +01:00
parent 510634d100
commit e653290e3e

View File

@@ -281,6 +281,7 @@ fn eval(mut ast: MalVal, mut env: Env) -> MalRet {
Add(b1, b2) => {
println!("Add {:?} {:?}", b1, b2);
zk.private.push(Scalar::from_string(&b2.pr_str(false).to_string()));
env_set(&env, l[1].clone(), zk.clone());
println!("{:?}", zk);
}
Sub(b1, b2) => {