Skip to content

Commit 75ead08

Browse files
committed
style: handle hlint suggestions
1 parent 31a4662 commit 75ead08

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

geniusyield-server-lib/src/GeniusYield/Server/Api.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ customShowNetworkId = show >>> removePrefix "GY" >>> removePrefix "Testnet" >>>
306306
handleTradingFeesApi Ctx IO TradingFees
307307
handleTradingFeesApi ctx@Ctx {..} = do
308308
logInfo ctx "Calculating trading fees."
309-
(_, pocd) runQuery ctx $ fetchPartialOrderConfig $ porRefNft $ dexPORefs $ ctxDexInfo
309+
(_, pocd) runQuery ctx $ fetchPartialOrderConfig $ porRefNft $ dexPORefs ctxDexInfo
310310
pure
311311
TradingFees
312312
{ tfFlatMakerFee = fromIntegral $ pociMakerFeeFlat pocd,

geniusyield-server-lib/src/GeniusYield/Server/Dex/PartialOrder.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ handlePlaceOrder ctx@Ctx {..} pops@PlaceOrderParameters {..} = do
132132
logInfo ctx $ "Placing an order. Parameters: " +|| pops ||+ ""
133133
let porefs = dexPORefs ctxDexInfo
134134
popAddress' = addressFromBech32 popAddress
135-
(cfgRef, pocd) runQuery ctx $ fetchPartialOrderConfig $ porRefNft $ porefs
135+
(cfgRef, pocd) runQuery ctx $ fetchPartialOrderConfig $ porRefNft porefs
136136
let unitPrice =
137137
rationalFromGHC $
138138
toInteger popPriceAmount % toInteger popOfferAmount

0 commit comments

Comments
 (0)