Skip to content

Commit 357290d

Browse files
trianglesphereprotolambda
authored andcommitted
Fix RPC json marshalling (#4)
The mint field was not being reported on deposit transactions over the JSON RPC interface because the field was misnamed.
1 parent 1b5d865 commit 357290d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/ethapi/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1264,7 +1264,7 @@ type RPCTransaction struct {
12641264

12651265
// deposit-tx only
12661266
BlockHeight *hexutil.Uint64 `json:"blockHeight,omitempty"`
1267-
Mint *hexutil.Big `json:"big,omitempty"`
1267+
Mint *hexutil.Big `json:"mint,omitempty"`
12681268
}
12691269

12701270
// newRPCTransaction returns a transaction that will serialize to the RPC

0 commit comments

Comments
 (0)