Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lmoe committed Oct 7, 2024
1 parent a90bc9f commit d61d8d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/evm/jsonrpc/tracer_call.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ type CallFrame struct {

/*
MarshalJSON / UnMarshalJSON functions are only there to return/take `Type` as a string (like `call`). Otherwise, it would simply return a number.
It returns the type in lowercase as it was before. But EVM internal functions require uppercase, so it's converted to that in UnMarshal.
*/
func (f CallFrame) MarshalJSON() ([]byte, error) {
type Alias CallFrame
Expand Down

0 comments on commit d61d8d0

Please sign in to comment.