Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions core/types/transaction_marshalling.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ type txJSON struct {
QueueIndex *hexutil.Uint64 `json:"queueIndex,omitempty"`

// Alt fee transaction fields:
FeeTokenID hexutil.Uint16 `json:"fee_token_id"`
FeeLimit *hexutil.Big `json:"fee_limit"`
FeeTokenID hexutil.Uint16 `json:"feeTokenID"`
FeeLimit *hexutil.Big `json:"feeLimit"`
}

// yParityValue returns the YParity value from JSON. For backwards-compatibility reasons,
Expand Down
4 changes: 2 additions & 2 deletions tests/state_test_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ type stTransaction struct {
Value []string `json:"value"`
PrivateKey []byte `json:"secretKey"`

FeeTokenID uint16 `json:"fee_token_id,omitempty"`
FeeLimit *big.Int `json:"fee_limit,omitempty"`
FeeTokenID uint16 `json:"feeTokenID,omitempty"`
FeeLimit *big.Int `json:"feeLimit,omitempty"`
}

type stTransactionMarshaling struct {
Expand Down