Skip to content

Commit

Permalink
feat: more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha committed Dec 29, 2024
1 parent 9b70453 commit cf99ca3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/taiko-client/pkg/rpc/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ type EngineClient struct {
*rpc.Client
}

// NewJWTEngineClient creates a new EngineClient with JWT authentication.
func NewJWTEngineClient(url, jwtSecret string) (*EngineClient, error) {
var jwt = StringToBytes32(jwtSecret)
if jwt == (common.Hash{}) || url == "" {
Expand Down
2 changes: 1 addition & 1 deletion packages/taiko-client/pkg/rpc/ethclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ type SignTransactionResult struct {
Tx *types.Transaction `json:"tx"`
}

// FillTransaction fill transaction.
// FillTransaction fills in the missing fields of a transaction and signs it.
func (c *EthClient) FillTransaction(ctx context.Context, args *TransactionArgs) (*types.Transaction, error) {
ctxWithTimeout, cancel := CtxWithTimeoutOrDefault(ctx, c.timeout)
defer cancel()
Expand Down

0 comments on commit cf99ca3

Please sign in to comment.