We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b5093c commit 1a5621cCopy full SHA for 1a5621c
plutus-contract/src/Plutus/Contract/Request.hs
@@ -344,11 +344,10 @@ fundsAtAddressCondition
344
fundsAtAddressCondition condition addr = loopM go () where
345
go () = do
346
cur <- utxoAt addr
347
- sl <- currentSlot
348
let presentVal = foldMap (txOutValue . txOutTxOut) cur
349
if condition presentVal
350
then pure (Right cur)
351
- else awaitSlot (sl + 1) >> pure (Left ())
+ else awaitUtxoProduced addr >> pure (Left ())
352
353
-- | Watch an address for changes, and return the outputs
354
-- at that address when the total value at the address
0 commit comments