Skip to content

Commit

Permalink
minor, fixing a complain
Browse files Browse the repository at this point in the history
  • Loading branch information
Soleimani193 committed Jan 22, 2025
1 parent c9901c2 commit 984a326
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions prover/protocol/wizard/prover.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 984a326

Please sign in to comment.