Skip to content

Commit

Permalink
feat: fix checks
Browse files Browse the repository at this point in the history
  • Loading branch information
karlem committed May 15, 2024
1 parent bc8687f commit 76c9549
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion datanode/api/trading_data_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -5279,7 +5279,7 @@ func (t *TradingDataServiceV2) EstimateTransferFee(ctx context.Context, req *v2.
accumulatedDiscount,
req.FromAccount,
req.FromAccountType,
req.FromDerivedKey,
req.FromAmmKey,
req.ToAccount,
)

Expand Down
2 changes: 1 addition & 1 deletion protos/sources/data-node/api/v2/trading_data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4705,7 +4705,7 @@ message EstimateTransferFeeRequest {
string amount = 4;
// Asset ID for the asset associated with the transaction.
string asset_id = 5;
// Optional saction must be the owner of this AMM key key from which assets are transferred.
// Optional saction must be the owner of this AMM key key from which assets are transferred.
// The `from_account` must be the owner of this AMM key.
optional string from_amm_key = 6;
}
Expand Down
4 changes: 2 additions & 2 deletions protos/sources/vega/commands/v1/commands.proto
Original file line number Diff line number Diff line change
Expand Up @@ -304,9 +304,9 @@ message Transfer {
string amount = 5;
// Reference to be attached to the transfer.
string reference = 6;
// Optional AMM key from which assets are transferred.
// Optional AMM key from which assets are transferred.
// The submitter of the transaction must be the owner of this AMM key.
// If provided, the 'from_account_type' must be REWARDS_VESTED, and the asset in this account
// If provided, the 'from_account_type' must be REWARDS_VESTED, and the asset in this account
// must match the asset specified in the transfer.
optional string from = 7;

Expand Down

0 comments on commit 76c9549

Please sign in to comment.