Skip to content

Commit

Permalink
(dirty stash) LoadZkCircuit could check CurrentHeight?
Browse files Browse the repository at this point in the history
  • Loading branch information
altergui committed Nov 27, 2023
1 parent d6488c4 commit ca6230b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vochain/transaction/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ func NewTransactionHandler(state *vstate.State, istc *ist.Controller, dataDir st
}

func (t *TransactionHandler) LoadZkCircuit(configTag string) error {
t.state.CurrentHeight()

circuit, err := circuit.LoadZkCircuitByTag(configTag)
if err != nil {
return fmt.Errorf("could not load zk verification keys: %w", err)
Expand Down

0 comments on commit ca6230b

Please sign in to comment.