Skip to content

Commit

Permalink
Merge pull request #11622 from vegaprotocol/fix-trade-fee-api
Browse files Browse the repository at this point in the history
fix: buyer fees stored in the wrong order in the trade DB
  • Loading branch information
wwestgarth authored Aug 28, 2024
2 parents 94d5319 + 94fdba3 commit 001ed76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datanode/sqlstore/trades.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ func (ts *Trades) Flush(ctx context.Context) ([]*entities.Trade, error) {
t.Type,
t.BuyerMakerFee,
t.BuyerInfrastructureFee,
t.BuyerLiquidityFee,
t.BuyerBuyBackFee,
t.BuyerTreasuryFee,
t.BuyerHighVolumeMakerFee,
t.BuyerLiquidityFee,
t.SellerMakerFee,
t.SellerInfrastructureFee,
t.SellerLiquidityFee,
Expand Down

0 comments on commit 001ed76

Please sign in to comment.