Skip to content

Commit

Permalink
fix: addr prefix in callTracer
Browse files Browse the repository at this point in the history
  • Loading branch information
wgr523 committed Jul 13, 2024
1 parent 0c7c95d commit de2be8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eth/tracers/native/call.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (
"errors"
"math/big"
"strconv"
"strings"
"sync/atomic"
"time"

Expand Down Expand Up @@ -166,5 +165,6 @@ func uintToHex(n uint64) string {
}

func addrToHex(a common.Address) string {
return strings.ToLower(a.Hex())
s, _ := a.MarshalText()
return string(s)
}

0 comments on commit de2be8f

Please sign in to comment.