File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
geniusyield-server-lib/src/GeniusYield/Server Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -306,7 +306,7 @@ customShowNetworkId = show >>> removePrefix "GY" >>> removePrefix "Testnet" >>>
306
306
handleTradingFeesApi ∷ Ctx → IO TradingFees
307
307
handleTradingFeesApi ctx@ Ctx {.. } = do
308
308
logInfo ctx " Calculating trading fees."
309
- (_, pocd) ← runQuery ctx $ fetchPartialOrderConfig $ porRefNft $ dexPORefs $ ctxDexInfo
309
+ (_, pocd) ← runQuery ctx $ fetchPartialOrderConfig $ porRefNft $ dexPORefs ctxDexInfo
310
310
pure
311
311
TradingFees
312
312
{ tfFlatMakerFee = fromIntegral $ pociMakerFeeFlat pocd,
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ handlePlaceOrder ctx@Ctx {..} pops@PlaceOrderParameters {..} = do
132
132
logInfo ctx $ " Placing an order. Parameters: " +|| pops ||+ " "
133
133
let porefs = dexPORefs ctxDexInfo
134
134
popAddress' = addressFromBech32 popAddress
135
- (cfgRef, pocd) ← runQuery ctx $ fetchPartialOrderConfig $ porRefNft $ porefs
135
+ (cfgRef, pocd) ← runQuery ctx $ fetchPartialOrderConfig $ porRefNft porefs
136
136
let unitPrice =
137
137
rationalFromGHC $
138
138
toInteger popPriceAmount % toInteger popOfferAmount
You can’t perform that action at this time.
0 commit comments