From bfe91162e893c3e67e9d8ab56c2feb4d9b6c88b0 Mon Sep 17 00:00:00 2001 From: Andrey Mashukov Date: Sat, 6 Jul 2024 19:50:33 +0800 Subject: [PATCH] Swap Action table columns extended --- src/service/exchange/order_executor.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/service/exchange/order_executor.go b/src/service/exchange/order_executor.go index 94c282a..f25b1a3 100644 --- a/src/service/exchange/order_executor.go +++ b/src/service/exchange/order_executor.go @@ -1304,10 +1304,13 @@ func (m *OrderExecutor) MakeSwap(order model.Order, swapChain model.SwapChainEnt StartQuantity: startQuantity, SwapOneSymbol: swapChain.SwapOne.GetSymbol(), SwapOnePrice: swapChain.SwapOne.Price, + SwapOneSide: &swapChain.SwapOne.Operation, SwapTwoSymbol: swapChain.SwapTwo.GetSymbol(), SwapTwoPrice: swapChain.SwapTwo.Price, + SwapTwoSide: &swapChain.SwapTwo.Operation, SwapThreeSymbol: swapChain.SwapThree.GetSymbol(), SwapThreePrice: swapChain.SwapThree.Price, + SwapThreeSide: &swapChain.SwapThree.Operation, }) if err != nil {