From 984a32621cc2db7126fd6b7e13f9ec7e9ecc9e92 Mon Sep 17 00:00:00 2001 From: Soleimani193 Date: Wed, 22 Jan 2025 17:14:48 +0100 Subject: [PATCH] minor, fixing a complain --- prover/protocol/wizard/prover.go | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/prover/protocol/wizard/prover.go b/prover/protocol/wizard/prover.go index ea7b06aea..a4fa11df0 100644 --- a/prover/protocol/wizard/prover.go +++ b/prover/protocol/wizard/prover.go @@ -595,32 +595,6 @@ func (run *ProverRuntime) goNextRound() { value interface{} ) - if info.Type == coin.FromSeed { - // if it is of type FromSeed, sample a coin based on the seed - if seed, ok := run.ParentRuntime.Coins.MustGet("SEED").(field.Element); ok { - value = info.SampleFromSeed( run.FS,seed) - } - } else { - // otherwise sample based on the transcript. - value = info.Sample(run.FS) - } - run.Coins.InsertNew(myCoin, value) - } - - finalState := run.FS.State() - - run.FiatShamirHistory[run.currRound] = [2][]field.Element{ - initialState, - finalState, - } -} - - - var ( - info = run.Spec.Coins.Data(myCoin) - value interface{} - ) - if info.Type == coin.FromSeed { // if it is of type FromSeed, sample a coin based on the seed if seed, ok := run.ParentRuntime.Coins.MustGet("SEED").(field.Element); ok {