Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
YoGhurt111 committed Sep 29, 2024
1 parent 9e82059 commit b0b17c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/taiko-client/prover/proof_producer/sgx_producer.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ func (s *SGXProofProducer) requestBatchProof(
defer cancel()

blocks := make([][2]*big.Int, len(blockIDs))
for i, blockID := range blockIDs {
blocks[i][0] = blockID
for i, _ := range blockIDs {
blocks[i][0] = blockIDs[i]
}
reqBody := RaikoRequestProofBodyV3{
Type: s.ProofType,
Expand All @@ -217,7 +217,7 @@ func (s *SGXProofProducer) requestBatchProof(
"Send batch proof generation request",
"blockIDs", blockIDs,
"proofType", "sgx",
"output", string(jsonValue),
"input", string(jsonValue),
)

req, err := http.NewRequestWithContext(
Expand Down

0 comments on commit b0b17c4

Please sign in to comment.