Skip to content

Commit 8f7b574

Browse files
Add await debug log
1 parent dc74df7 commit 8f7b574

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/BotPlutusInterface/Contract.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ awaitTxStatusChange contractEnv txId = do
185185
case mTx of
186186
Nothing -> pure Unknown
187187
Just txState -> do
188+
printLog @w Debug $ "Found transaction in node, waiting " ++ show chainConstant ++ " blocks for it to settle."
188189
awaitNBlocks @w contractEnv (chainConstant + 1)
189190
-- Check if the tx is still present in chain-index, in case of a rollback
190191
-- we might not find it anymore.

0 commit comments

Comments
 (0)