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 Sep 6, 2022
1 parent 1b5d865 commit 357290d
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 @@ -1264,7 +1264,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 357290d

Please sign in to comment.