Skip to content

Commit 81fc01f

Browse files
f - duplicate funding_txid message update
1 parent c09903b commit 81fc01f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4542,10 +4542,7 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
45424542
match id_to_peer.entry(chan.channel_id()) {
45434543
hash_map::Entry::Occupied(_) => {
45444544
return Err(MsgHandleErrInternal::send_err_msg_no_close(
4545-
"Funding txid already exists with for another peer (or likely the
4546-
same peer using a different id). The counterparty must have sent a
4547-
txid in the FundingCreated msgs for a tx with a different
4548-
script_pubkey than the one agreed upon".to_owned(),
4545+
"The funding_created message had the same funding_txid as an existing channel - funding is not possible".to_owned(),
45494546
funding_msg.channel_id))
45504547
},
45514548
hash_map::Entry::Vacant(i_e) => {

0 commit comments

Comments
 (0)