Browse Source

Un-break master after merging #389

The #389 introduced some changes that conflicted with
9de3827199 so this ports those changes
into #389 and fixes the `master` branch again.

Lesson learned: always rebase a PR before merging.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
ppa-0.6.1
Christian Decker 7 years ago
parent
commit
70bbc46304
  1. 1
      channeld/Makefile
  2. 4
      channeld/channel.c

1
channeld/Makefile

@ -58,6 +58,7 @@ CHANNELD_COMMON_OBJS := \
common/timeout.o \ common/timeout.o \
common/type_to_string.o \ common/type_to_string.o \
common/utils.o \ common/utils.o \
common/utxo.o \
common/version.o \ common/version.o \
common/wireaddr.o \ common/wireaddr.o \
gossipd/gen_gossip_wire.o \ gossipd/gen_gossip_wire.o \

4
channeld/channel.c

@ -1123,8 +1123,8 @@ static void handle_peer_revoke_and_ack(struct peer *peer, const u8 *msg)
} }
if (peer->revocations_received != peer->next_index[REMOTE] - 2) { if (peer->revocations_received != peer->next_index[REMOTE] - 2) {
peer_failed(io_conn_fd(peer->peer_conn), peer_failed(PEER_FD,
&peer->pcs.cs, &peer->cs,
&peer->channel_id, &peer->channel_id,
"Unexpected revoke_and_ack"); "Unexpected revoke_and_ack");
} }

Loading…
Cancel
Save