File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,8 @@ chainIndexQueryOne pabConf endpoint = do
9393chainIndexUtxoQuery :: forall (w :: Type ). ContractEnvironment w -> ClientM UtxosResponse -> IO UtxosResponse
9494chainIndexUtxoQuery contractEnv query = do
9595 collateralUtxo <- readCollateralUtxo contractEnv
96- let removeCollateral (UtxosResponse tip page) = UtxosResponse tip (removeCollateralFromPage collateralUtxo page)
96+ let removeCollateral :: UtxosResponse -> UtxosResponse
97+ removeCollateral (UtxosResponse tip page) = UtxosResponse tip (removeCollateralFromPage collateralUtxo page)
9798 removeCollateral
9899 <$> chainIndexQueryMany
99100 contractEnv. cePABConfig
@@ -103,7 +104,8 @@ chainIndexUtxoQuery contractEnv query = do
103104chainIndexTxoQuery :: forall (w :: Type ). ContractEnvironment w -> ClientM TxosResponse -> IO TxosResponse
104105chainIndexTxoQuery contractEnv query = do
105106 collateralUtxo <- readCollateralUtxo contractEnv
106- let removeCollateral (TxosResponse page) = TxosResponse (removeCollateralFromPage collateralUtxo page)
107+ let removeCollateral :: TxosResponse -> TxosResponse
108+ removeCollateral (TxosResponse page) = TxosResponse (removeCollateralFromPage collateralUtxo page)
107109 removeCollateral
108110 <$> chainIndexQueryMany
109111 contractEnv. cePABConfig
You can’t perform that action at this time.
0 commit comments