From ffa7567964cc9f42f0e3773b3e34726e0b16cdf4 Mon Sep 17 00:00:00 2001 From: sairajzero Date: Fri, 10 Mar 2023 02:33:22 +0530 Subject: [PATCH] Bug fix - Fixed: FLO multisig pipeline not closing (disabling) upon successful broadcast --- scripts/messenger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/messenger.js b/scripts/messenger.js index ef333cf..44a7807 100644 --- a/scripts/messenger.js +++ b/scripts/messenger.js @@ -1462,7 +1462,7 @@ data.txid = unparsed.message; //the following check is done on parallel (in background) instead of sync getChat(pipeID).then(result => { - var tx_hex_list = Object.keys(result).sort().map(i => result[i].tx_hex).filter(x => x).shift(); + var tx_hex_list = Object.keys(result).sort().map(i => result[i].tx_hex).filter(x => x); let tx_hex_inital = tx_hex_list[0], tx_hex_final = tx_hex_list.pop(); if (floBlockchainAPI.checkIfSameTx(tx_hex_inital, tx_hex_final) &&