Skip to content

Commit

Permalink
Fix RPC json marshalling (#4)
Browse files Browse the repository at this point in the history
The mint field was not being reported on deposit transactions over
the JSON RPC interface because the field was misnamed.
  • Loading branch information
trianglesphere authored and protolambda committed Nov 4, 2022
1 parent 7b3638a commit 63526d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ethapi/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -1292,7 +1292,7 @@ type RPCTransaction struct {

// deposit-tx only
BlockHeight *hexutil.Uint64 `json:"blockHeight,omitempty"`
Mint *hexutil.Big `json:"big,omitempty"`
Mint *hexutil.Big `json:"mint,omitempty"`
}

// newRPCTransaction returns a transaction that will serialize to the RPC
Expand Down

0 comments on commit 63526d7

Please sign in to comment.