Browse Source

spec-update: handle tx_signatures in channeld (accepter side only,really)

bump-pyln-proto
niftynei 4 years ago
committed by Rusty Russell
parent
commit
586b9aa742
  1. 6
      channeld/channeld.c

6
channeld/channeld.c

@ -2104,8 +2104,11 @@ static void peer_in(struct peer *peer, const u8 *msg)
case WIRE_ONION_MESSAGE: case WIRE_ONION_MESSAGE:
handle_onion_message(peer, msg); handle_onion_message(peer, msg);
return; return;
/* FIXME: handle this here */ case WIRE_TX_SIGNATURES:
/* FIXME: verify sigs + weights, broadcast funding tx */
return;
case WIRE_INIT_RBF: case WIRE_INIT_RBF:
/* FIXME: handle this here */
break; break;
#endif #endif
@ -2121,7 +2124,6 @@ static void peer_in(struct peer *peer, const u8 *msg)
case WIRE_TX_ADD_OUTPUT: case WIRE_TX_ADD_OUTPUT:
case WIRE_TX_REMOVE_OUTPUT: case WIRE_TX_REMOVE_OUTPUT:
case WIRE_TX_COMPLETE: case WIRE_TX_COMPLETE:
case WIRE_TX_SIGNATURES:
case WIRE_OPEN_CHANNEL2: case WIRE_OPEN_CHANNEL2:
case WIRE_ACCEPT_CHANNEL2: case WIRE_ACCEPT_CHANNEL2:
case WIRE_BLACKLIST_PODLE: case WIRE_BLACKLIST_PODLE:

Loading…
Cancel
Save