Skip to content

Commit

Permalink
feat(taiko-client): temp log (#17324)
Browse files Browse the repository at this point in the history
  • Loading branch information
YoGhurt111 authored May 24, 2024
1 parent 5ddb4c5 commit c96c6ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/taiko-client/prover/proof_producer/sgx_producer.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ func (s *SGXProofProducer) requestProof(opts *ProofRequestOptions) (*RaikoReques
}
req.Header.Set("Content-Type", "application/json")
if len(s.JWT) > 0 {
log.Info("base string", s.JWT)
log.Info("encode value", base64.StdEncoding.EncodeToString([]byte(s.JWT)))
req.Header.Set("Authorization", "Bearer "+base64.StdEncoding.EncodeToString([]byte(s.JWT)))
}

Expand Down

0 comments on commit c96c6ee

Please sign in to comment.