From 81fc01f8b612d11e7e26cef5f528f124039ab8fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Tigerstr=C3=B6m?= <11711198+ViktorTigerstrom@users.noreply.github.com> Date: Fri, 8 Jul 2022 22:18:26 +0200 Subject: [PATCH] f - duplicate funding_txid message update --- lightning/src/ln/channelmanager.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lightning/src/ln/channelmanager.rs b/lightning/src/ln/channelmanager.rs index 58b891b67e9..84bbd08484a 100644 --- a/lightning/src/ln/channelmanager.rs +++ b/lightning/src/ln/channelmanager.rs @@ -4542,10 +4542,7 @@ impl ChannelMana match id_to_peer.entry(chan.channel_id()) { hash_map::Entry::Occupied(_) => { return Err(MsgHandleErrInternal::send_err_msg_no_close( - "Funding txid already exists with for another peer (or likely the - same peer using a different id). The counterparty must have sent a - txid in the FundingCreated msgs for a tx with a different - script_pubkey than the one agreed upon".to_owned(), + "The funding_created message had the same funding_txid as an existing channel - funding is not possible".to_owned(), funding_msg.channel_id)) }, hash_map::Entry::Vacant(i_e) => {