Skip to content

Commit

Permalink
Remove creationTxFee from info.GetTxFeeResponse (ava-labs#2529)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhrubabasu authored Jan 26, 2023
1 parent 1a72665 commit 8116669
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions api/info/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,7 @@ func (i *Info) Uptime(_ *http.Request, args *UptimeRequest, reply *UptimeRespons
}

type GetTxFeeResponse struct {
TxFee json.Uint64 `json:"txFee"`
// TODO: remove [CreationTxFee] after enough time for dependencies to update
CreationTxFee json.Uint64 `json:"creationTxFee"`
TxFee json.Uint64 `json:"txFee"`
CreateAssetTxFee json.Uint64 `json:"createAssetTxFee"`
CreateSubnetTxFee json.Uint64 `json:"createSubnetTxFee"`
TransformSubnetTxFee json.Uint64 `json:"transformSubnetTxFee"`
Expand All @@ -307,7 +305,6 @@ type GetTxFeeResponse struct {
// GetTxFee returns the transaction fee in nAVAX.
func (i *Info) GetTxFee(_ *http.Request, _ *struct{}, reply *GetTxFeeResponse) error {
reply.TxFee = json.Uint64(i.TxFee)
reply.CreationTxFee = json.Uint64(i.CreateAssetTxFee)
reply.CreateAssetTxFee = json.Uint64(i.CreateAssetTxFee)
reply.CreateSubnetTxFee = json.Uint64(i.CreateSubnetTxFee)
reply.TransformSubnetTxFee = json.Uint64(i.TransformSubnetTxFee)
Expand Down

0 comments on commit 8116669

Please sign in to comment.