Skip to content

Commit

Permalink
refactor: remove debug logging in SendUserOperation utility function
Browse files Browse the repository at this point in the history
  • Loading branch information
chibie committed Feb 20, 2025
1 parent 394cd6c commit 0e871cd
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions utils/userop.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"context"
"encoding/json"
"fmt"
"log"
"math/big"
"strconv"
"strings"
Expand Down Expand Up @@ -234,9 +233,6 @@ func SendUserOperation(userOp *userop.UserOperation, chainId int64) (string, str
return "", "", 0, fmt.Errorf("invalid AA service URL pattern: %w", err)
}

op, _ := userOp.MarshalJSON()
log.Println("userOp", string(op))

var requestParams []interface{}
switch aaService {
case "biconomy":
Expand All @@ -251,8 +247,6 @@ func SendUserOperation(userOp *userop.UserOperation, chainId int64) (string, str
return "", "", 0, fmt.Errorf("unsupported AA service: %s", aaService)
}

log.Println("requestParams", requestParams)

var result json.RawMessage
err = client.Call(&result, "eth_sendUserOperation", requestParams...)
if err != nil {
Expand Down

0 comments on commit 0e871cd

Please sign in to comment.