diff --git a/prover/server/prover/batch_address_append_circuit.go b/prover/server/prover/batch_address_append_circuit.go index 743486def..e8bebb81f 100644 --- a/prover/server/prover/batch_address_append_circuit.go +++ b/prover/server/prover/batch_address_append_circuit.go @@ -149,13 +149,6 @@ func InitBatchAddressTreeAppendCircuit(treeHeight uint32, batchSize uint32) Batc } func (params *BatchAddressAppendParameters) CreateWitness() (*BatchAddressTreeAppendCircuit, error) { - if params.BatchSize == 0 { - return nil, fmt.Errorf("batch size cannot be 0") - } - if params.TreeHeight == 0 { - return nil, fmt.Errorf("tree height cannot be 0") - } - circuit := &BatchAddressTreeAppendCircuit{ BatchSize: params.BatchSize, TreeHeight: params.TreeHeight,