mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
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>
This commit is contained in:
parent
40516941af
commit
70bbc46304
@ -58,6 +58,7 @@ CHANNELD_COMMON_OBJS := \
|
||||
common/timeout.o \
|
||||
common/type_to_string.o \
|
||||
common/utils.o \
|
||||
common/utxo.o \
|
||||
common/version.o \
|
||||
common/wireaddr.o \
|
||||
gossipd/gen_gossip_wire.o \
|
||||
|
@ -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) {
|
||||
peer_failed(io_conn_fd(peer->peer_conn),
|
||||
&peer->pcs.cs,
|
||||
peer_failed(PEER_FD,
|
||||
&peer->cs,
|
||||
&peer->channel_id,
|
||||
"Unexpected revoke_and_ack");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user