store: let the Postgres credit specs compile

This commit is contained in:
shum committed 2026-10-22 15:56:42 +00:00
1 parent 3cc901b1bd
commit 7e4f6742c6
1 file changed
+4 -1
@@ -639,7 +639,10 @@ testConcurrentCredits = withServiceStores $ \open -> do
st <- open
other <- open
withLateOn st $ \l -> do
let due r = closedOrder l r False >> settleAt l r (SigClosed (btcPaid lateUnits lateUnits)) (at 70) `shouldReturn` Right ISExpired
let due :: Text -> IO ()
due r = do
closedOrder l r False
settleAt l r (SigClosed (btcPaid lateUnits lateUnits)) (at 70) `shouldReturn` Right ISExpired
forM_ [1 .. rounds] $ \n -> do
let r = "x" <> T.pack (show n)
due r