mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-04 06:32:59 +00:00
store: let the Postgres credit specs compile
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user