ElementsProject / lightning

Core Lightning — Lightning Network implementation focusing on spec compliance and performance
Other
2.85k stars 901 forks source link

`Bad closing_signed signature` when attempting LND mutual close #6580

Closed irriden closed 1 year ago

irriden commented 1 year ago

Issue and Steps to Reproduce

This is on 08/14's master branch: v23.08rc2-12-g5531c9d-modded.

I've been playing with Monday's CLN master, and am repeatedly hitting these Bad closing_signed signature when attempting a mutual close with LND nodes. Here below are some initial details.

CLI:

$ dan-cli -k close id=023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f feerange='["7000perkb", "15000perkb"]'
# Sending closing fee offer 966sat, with range 966sat-2070sat
# Sending closing fee offer 966sat, with range 966sat-2070sat
# Sending closing fee offer 966sat, with range 966sat-2070sat
# Sending closing fee offer 966sat, with range 966sat-2070sat
# Sending closing fee offer 966sat, with range 966sat-2070sat
# Sending closing fee offer 966sat, with range 966sat-2070sat
# Sending closing fee offer 966sat, with range 966sat-2070sat
# Sending closing fee offer 966sat, with range 966sat-2070sat
# Sending closing fee offer 966sat, with range 966sat-2070sat
# Sending closing fee offer 966sat, with range 966sat-2070sat
# Sending closing fee offer 966sat, with range 966sat-2070sat
# Sending closing fee offer 966sat, with range 966sat-2070sat
# Sending closing fee offer 966sat, with range 966sat-2070sat
# Sending closing fee offer 966sat, with range 966sat-2070sat

LOG FILE:

2023-08-17T16:08:12.832Z DEBUG   lightningd: Feerate estimate for 12 blocks set to 1565 (was 1550)
2023-08-17T16:08:12.832Z DEBUG   lightningd: update_feerates: feerate = 2415, min=770, max=241450, penalty=1565
2023-08-17T16:08:39.914Z INFO    023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-chan#1: State changed from CHANNELD_NORMAL to CHANNELD_SHUTTING_DOWN
2023-08-17T16:08:39.915Z DEBUG   lightningd: close_command: timeout = 172800
2023-08-17T16:08:39.945Z DEBUG   02918e78d1538cdcd9d2fc292009fdc05d6d5d66d7706e7074dfa00e7f43321dce-hsmd: Got WIRE_HSMD_CUPDATE_SIG_REQ
2023-08-17T16:08:39.945Z DEBUG   hsmd: Client: Received message 3 from client
2023-08-17T16:08:47.952Z DEBUG   02918e78d1538cdcd9d2fc292009fdc05d6d5d66d7706e7074dfa00e7f43321dce-hsmd: Got WIRE_HSMD_CUPDATE_SIG_REQ
2023-08-17T16:08:47.952Z DEBUG   hsmd: Client: Received message 3 from client
2023-08-17T16:08:47.959Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: pid 15619, msgfd 69
2023-08-17T16:08:47.960Z INFO    023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-chan#1: State changed from CHANNELD_SHUTTING_DOWN to CLOSINGD_SIGEXCHANGE
2023-08-17T16:08:47.972Z DEBUG   hsmd: new_client: 1
2023-08-17T16:08:47.973Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: deriving max fee from rate 3750 -> 2070sat
2023-08-17T16:08:47.973Z UNUSUAL 023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: Our ideal fee is 889sat (1612 sats/perkw), but our minimum is 966sat: using that
2023-08-17T16:08:47.973Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: Expected closing weight = 552, fee 966sat (min 966sat, max 2070sat)
2023-08-17T16:08:47.973Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: out = 124562sat/437sat
2023-08-17T16:08:47.973Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: dustlimit = 546sat
2023-08-17T16:08:47.973Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: fee = 966sat
2023-08-17T16:08:47.973Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: fee negotiation step = 50%
2023-08-17T16:08:47.973Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: billboard perm: Negotiating closing fee between 966sat and 2070sat satoshi (ideal 966sat) using step 50%
2023-08-17T16:08:47.973Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: Making close tx at = 124562sat/437sat fee 966sat
2023-08-17T16:08:47.974Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-hsmd: Got WIRE_HSMD_SIGN_MUTUAL_CLOSE_TX
2023-08-17T16:08:47.974Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: sending fee offer 966sat
2023-08-17T16:08:47.974Z DEBUG   hsmd: Client: Received message 21 from client
2023-08-17T16:08:47.974Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: peer_out WIRE_CLOSING_SIGNED
2023-08-17T16:08:47.975Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: billboard: Waiting for their initial closing fee offer: ours was 966sat
2023-08-17T16:08:50.740Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: peer_in WIRE_CLOSING_SIGNED
2023-08-17T16:08:50.740Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: Making close tx at = 124562sat/437sat fee 1262sat
2023-08-17T16:08:50.751Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: Making close tx at = 124562sat/0sat fee 1262sat
2023-08-17T16:08:50.751Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: peer_out WIRE_WARNING
2023-08-17T16:08:50.751Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: billboard perm: Bad closing_signed signature for 020000000106bd7e70ef9be084f9d29f6169cc5141f629c1ecdbb9a206e878f9ed24506be80100000000ffffffff01a4e1010000000000160014edb6b887ffa402cfce15e92977dcb5b77828bab500000000 (and trimmed version 020000000106bd7e70ef9be084f9d29f6169cc5141f629c1ecdbb9a206e878f9ed24506be80100000000ffffffff01a4e1010000000000160014edb6b887ffa402cfce15e92977dcb5b77828bab500000000)
2023-08-17T16:08:50.752Z DEBUG   connectd: drain_peer
2023-08-17T16:08:50.752Z DEBUG   connectd: drain_peer draining subd!
2023-08-17T16:08:50.752Z INFO    023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-chan#1: Peer transient failure in CLOSINGD_SIGEXCHANGE: closingd WARNING: Bad closing_signed signature for 020000000106bd7e70ef9be084f9d29f6169cc5141f629c1ecdbb9a206e878f9ed24506be80100000000ffffffff01a4e1010000000000160014edb6b887ffa402cfce15e92977dcb5b77828bab500000000 (and trimmed version 020000000106bd7e70ef9be084f9d29f6169cc5141f629c1ecdbb9a206e878f9ed24506be80100000000ffffffff01a4e1010000000000160014edb6b887ffa402cfce15e92977dcb5b77828bab500000000)
2023-08-17T16:08:50.752Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-lightningd: peer_disconnect_done
2023-08-17T16:08:50.752Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-lightningd: Will try reconnect in 1 seconds
2023-08-17T16:08:50.752Z DEBUG   plugin-funder: Cleaning up inflights for peer id 023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f
2023-08-17T16:08:51.750Z DEBUG   connectd: maybe_free_peer freeing peer!
2023-08-17T16:08:52.738Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-connectd: Connected out, starting crypto
2023-08-17T16:08:52.840Z DEBUG   02918e78d1538cdcd9d2fc292009fdc05d6d5d66d7706e7074dfa00e7f43321dce-hsmd: Got WIRE_HSMD_ECDH_REQ
2023-08-17T16:08:52.840Z DEBUG   hsmd: Client: Received message 1 from client
2023-08-17T16:08:52.841Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-connectd: Connect OUT
2023-08-17T16:08:52.841Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-connectd: peer_out WIRE_INIT
2023-08-17T16:08:52.972Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-connectd: peer_in WIRE_INIT
2023-08-17T16:08:52.972Z DEBUG   lightningd: Calling peer_connected hook of plugin chanbackup
2023-08-17T16:08:52.981Z DEBUG   02918e78d1538cdcd9d2fc292009fdc05d6d5d66d7706e7074dfa00e7f43321dce-hsmd: Got WIRE_HSMD_CUPDATE_SIG_REQ
2023-08-17T16:08:52.981Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-connectd: Handed peer, entering loop
2023-08-17T16:08:52.981Z DEBUG   lightningd: Plugin chanbackup returned from peer_connected hook call
2023-08-17T16:08:52.981Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-chan#1: Peer has reconnected, state CLOSINGD_SIGEXCHANGE: connecting subd
2023-08-17T16:08:52.989Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-chan#1: Already have funding locked in (and ready to announce)
2023-08-17T16:08:52.994Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-chan#1: attempting update blockheight 06bd7e70ef9be084f9d29f6169cc5141f629c1ecdbb9a206e878f9ed24506be9
2023-08-17T16:08:52.994Z DEBUG   hsmd: Client: Received message 3 from client
2023-08-17T16:08:52.994Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-connectd: peer_out WIRE_GOSSIP_TIMESTAMP_FILTER
2023-08-17T16:08:52.994Z DEBUG   hsmd: new_client: 1
2023-08-17T16:08:52.995Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-hsmd: Got WIRE_HSMD_GET_PER_COMMITMENT_POINT
2023-08-17T16:08:52.995Z DEBUG   hsmd: Client: Received message 18 from client
2023-08-17T16:08:52.996Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-hsmd: Got WIRE_HSMD_GET_PER_COMMITMENT_POINT
2023-08-17T16:08:52.996Z DEBUG   hsmd: Client: Received message 18 from client
2023-08-17T16:08:56.621Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-hsmd: Got WIRE_HSMD_GET_PER_COMMITMENT_POINT
2023-08-17T16:08:56.621Z DEBUG   hsmd: Client: Received message 18 from client
2023-08-17T16:08:56.629Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: pid 15622, msgfd 61
2023-08-17T16:08:56.630Z DEBUG   hsmd: new_client: 1
2023-08-17T16:08:56.630Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: deriving max fee from rate 3750 -> 2070sat
2023-08-17T16:08:56.630Z UNUSUAL 023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: Our ideal fee is 889sat (1612 sats/perkw), but our minimum is 966sat: using that
2023-08-17T16:08:56.631Z DEBUG   02918e78d1538cdcd9d2fc292009fdc05d6d5d66d7706e7074dfa00e7f43321dce-hsmd: Got WIRE_HSMD_CUPDATE_SIG_REQ
2023-08-17T16:08:56.631Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: Expected closing weight = 552, fee 966sat (min 966sat, max 2070sat)
2023-08-17T16:08:56.631Z DEBUG   hsmd: Client: Received message 3 from client
2023-08-17T16:08:56.631Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: out = 124562sat/437sat
2023-08-17T16:08:56.631Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: dustlimit = 546sat
2023-08-17T16:08:56.631Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: fee = 966sat
2023-08-17T16:08:56.631Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: fee negotiation step = 50%
2023-08-17T16:08:56.631Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: billboard perm: Negotiating closing fee between 966sat and 2070sat satoshi (ideal 966sat) using step 50%
2023-08-17T16:08:56.631Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: Making close tx at = 124562sat/437sat fee 966sat
2023-08-17T16:08:56.631Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-hsmd: Got WIRE_HSMD_SIGN_MUTUAL_CLOSE_TX
2023-08-17T16:08:56.631Z DEBUG   hsmd: Client: Received message 21 from client
2023-08-17T16:08:56.631Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: sending fee offer 966sat
2023-08-17T16:08:56.631Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: peer_out WIRE_CLOSING_SIGNED
2023-08-17T16:08:56.631Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: billboard: Waiting for their initial closing fee offer: ours was 966sat
2023-08-17T16:08:56.631Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: peer_in WIRE_SHUTDOWN
2023-08-17T16:08:57.022Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: peer_in WIRE_CLOSING_SIGNED
2023-08-17T16:08:57.022Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: Making close tx at = 124562sat/437sat fee 1262sat
2023-08-17T16:08:57.030Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: Making close tx at = 124562sat/0sat fee 1262sat
2023-08-17T16:08:57.030Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: peer_out WIRE_WARNING
2023-08-17T16:08:57.030Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-closingd-chan#1: billboard perm: Bad closing_signed signature for 020000000106bd7e70ef9be084f9d29f6169cc5141f629c1ecdbb9a206e878f9ed24506be80100000000ffffffff01a4e1010000000000160014edb6b887ffa402cfce15e92977dcb5b77828bab500000000 (and trimmed version 020000000106bd7e70ef9be084f9d29f6169cc5141f629c1ecdbb9a206e878f9ed24506be80100000000ffffffff01a4e1010000000000160014edb6b887ffa402cfce15e92977dcb5b77828bab500000000)
2023-08-17T16:08:57.030Z DEBUG   connectd: drain_peer
2023-08-17T16:08:57.031Z DEBUG   connectd: drain_peer draining subd!
2023-08-17T16:08:57.031Z INFO    023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-chan#1: Peer transient failure in CLOSINGD_SIGEXCHANGE: closingd WARNING: Bad closing_signed signature for 020000000106bd7e70ef9be084f9d29f6169cc5141f629c1ecdbb9a206e878f9ed24506be80100000000ffffffff01a4e1010000000000160014edb6b887ffa402cfce15e92977dcb5b77828bab500000000 (and trimmed version 020000000106bd7e70ef9be084f9d29f6169cc5141f629c1ecdbb9a206e878f9ed24506be80100000000ffffffff01a4e1010000000000160014edb6b887ffa402cfce15e92977dcb5b77828bab500000000)
2023-08-17T16:08:57.031Z DEBUG   023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f-lightningd: peer_disconnect_done

getinfo output

$ dan-cli getinfo
{
   "id": "02918e78d1538cdcd9d2fc292009fdc05d6d5d66d7706e7074dfa00e7f43321dce",
   "alias": "ANGRYPHOTO-c2-12-g5531c9d-modded",
   "color": "02918e",
   "num_peers": 1,
   "num_pending_channels": 0,
   "num_active_channels": 1,
   "num_inactive_channels": 0,
   "address": [],
   "binding": [
      {
         "type": "ipv6",
         "address": "::",
         "port": 49462
      },
      {
         "type": "ipv4",
         "address": "0.0.0.0",
         "port": 49462
      }
   ],
   "version": "v23.08rc2-12-g5531c9d-modded",
   "blockheight": 803648,
   "network": "bitcoin",
   "fees_collected_msat": 0,
   "lightning-dir": "/home/flow/sphinx/ln_nodes/dan/bitcoin",
   "our_features": {
      "init": "08a0000a0269a2",
      "node": "88a0000a0269a2",
      "channel": "",
      "invoice": "02000002024100"
   }
}

listpeers output

{
   "peers": [
      {
         "id": "023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f",
         "connected": false,
         "num_channels": 1,
         "features": "800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000888a52a1",
         "channels": [
            {
               "state": "CLOSINGD_SIGEXCHANGE",
               "scratch_txid": "24c646580244ac9868053596aed5b9c2bb46c0d52bb84d0eaac960a9bb1368c5",
               "last_tx_fee_msat": 2186000,
               "feerate": {
                  "perkw": 2415,
                  "perkb": 9660
               },
               "short_channel_id": "802688x2090x1",
               "direction": 1,
               "channel_id": "06bd7e70ef9be084f9d29f6169cc5141f629c1ecdbb9a206e878f9ed24506be9",
               "funding_txid": "e86b5024edf978e806a2b9dbecc129f64151cc69619fd2f984e09bef707ebd06",
               "funding_outnum": 1,
               "close_to_addr": "bc1qakmt3pll5spvlns4ay5h0h94kauz3w44rxny33",
               "close_to": "0014edb6b887ffa402cfce15e92977dcb5b77828bab5",
               "private": true,
               "opener": "local",
               "closer": "local",
               "alias": {
                  "local": "12230569x3134832x35912"
               },
               "features": [
                  "option_static_remotekey"
               ],
               "funding": {
                  "local_funds_msat": 125000000,
                  "remote_funds_msat": 0,
                  "pushed_msat": 12500
               },
               "to_us_msat": 124562228,
               "min_to_us_msat": 124562228,
               "max_to_us_msat": 124987500,
               "total_msat": 125000000,
               "fee_base_msat": 1000,
               "fee_proportional_millionths": 10,
               "dust_limit_msat": 546000,
               "max_total_htlc_in_msat": 18446744073709551615,
               "their_reserve_msat": 1250000,
               "our_reserve_msat": 1250000,
               "spendable_msat": 118154228,
               "receivable_msat": 0,
               "minimum_htlc_in_msat": 0,
               "minimum_htlc_out_msat": 1,
               "maximum_htlc_out_msat": 123750000,
               "their_to_self_delay": 144,
               "our_to_self_delay": 144,
               "max_accepted_htlcs": 30,
               "state_changes": [
                  {
                     "timestamp": "2023-08-11T16:46:31.386Z",
                     "old_state": "CHANNELD_AWAITING_LOCKIN",
                     "new_state": "CHANNELD_NORMAL",
                     "cause": "user",
                     "message": "Lockin complete"
                  },
                  {
                     "timestamp": "2023-08-17T16:08:39.915Z",
                     "old_state": "CHANNELD_NORMAL",
                     "new_state": "CHANNELD_SHUTTING_DOWN",
                     "cause": "user",
                     "message": "User or plugin invoked close command"
                  },
                  {
                     "timestamp": "2023-08-17T16:08:47.961Z",
                     "old_state": "CHANNELD_SHUTTING_DOWN",
                     "new_state": "CLOSINGD_SIGEXCHANGE",
                     "cause": "user",
                     "message": "Start closingd"
                  }
               ],
               "status": [
                  "CHANNELD_NORMAL:Reconnected, and reestablished.",
                  "CLOSINGD_SIGEXCHANGE:Bad closing_signed signature for 020000000106bd7e70ef9be084f9d29f6169cc5141f629c1ecdbb9a206e878f9ed24506be80100000000ffffffff01a4e1010000000000160014edb6b887ffa402cfce15e92977dcb5b77828bab500000000 (and trimmed version 020000000106bd7e70ef9be084f9d29f6169cc5141f629c1ecdbb9a206e878f9ed24506be80100000000ffffffff01a4e1010000000000160014edb6b887ffa402cfce15e92977dcb5b77828bab500000000)",
                  "CLOSINGD_SIGEXCHANGE:Will attempt reconnect in 300 seconds"
               ],
               "in_payments_offered": 0,
               "in_offered_msat": 0,
               "in_payments_fulfilled": 0,
               "in_fulfilled_msat": 0,
               "out_payments_offered": 73,
               "out_offered_msat": 1991859,
               "out_payments_fulfilled": 20,
               "out_fulfilled_msat": 425272,
               "htlcs": []
            }
         ]
      }
   ]
}
irriden commented 1 year ago

I have attempted to reproduce on regtest - but have not been able to, the mutual close proceeds just fine there.

irriden commented 1 year ago

Closing as I just saw this is a duplicate of #6163.