diff --git a/lib/utils.js b/lib/utils.js index 1172d5b6..5a9f65a4 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -273,7 +273,7 @@ const waitForBitcoinTxToBeInMempool = async (btcTxHelper, btcTxHash) => { * @param {BtcTransactionHelper} btcTxHelper * @returns {Promise} */ -const waitForBitcoinMempoolToGetTxs = async (btcTxHelper, maxAttempts, checkEveryMilliseconds = 1000) => { +const waitForBitcoinMempoolToGetTxs = async (btcTxHelper, maxAttempts = 5, checkEveryMilliseconds = 1000) => { const initialBitcoinMempoolSize = (await getBitcoinMempool(btcTxHelper)).length;