Counld someone tell me what I can do please?
Create spend proof function librustzcash_sapling_spend_proof() down!!
the error is :
thread ‘’ panicked at ‘called Option::unwrap()
on a None
value’, libcore/option.rs:345:21
note: Run with RUST_BACKTRACE=1
for a backtrace.
SIGABRT: abort
PC=0x7f4f7280b428 m=10 sigcode=18446744073709551610
goroutine 0 [idle]:
runtime: unknown pc 0x7f4f7280b428
stack: frame={sp:0x7f4f69ff8d78, fp:0x0} stack=[0x7f4f697fb1f0,0x7f4f69ffadf0)
@zcashBigFuns What steps are you taking which produces this error?
Are you running Zcash? I see a “goroutine” but Zcash does not contain any Golang code.
Please copy the error output when you launch with RUST_BACKTRACE=1.
Feel free to reply here or on a Github ticket Can not create Sapling Spend Proof · Issue #3608 · zcash/zcash · GitHub I created which makes this issue easier to track.
I created librustzcash.a using project librustzcash which is on github(GitHub - zcash/librustzcash: Rust-language assets for Zcash)
I am tring to use librustzcash.a to create sapling spend proof in go .
The problem was solved by add function librustzcash_init_zksnark_params(…)
But I can not create SaplingSpendProof.