From 441a5b88350484675cd88d8e3a0f69190b351425 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Sun, 18 Mar 2018 15:11:30 +1030 Subject: [PATCH] openingd: update check to latest bolt revision. Signed-off-by: Rusty Russell --- openingd/opening.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openingd/opening.c b/openingd/opening.c index 5150c7615..af11aea3b 100644 --- a/openingd/opening.c +++ b/openingd/opening.c @@ -620,7 +620,7 @@ static u8 *fundee_channel(struct state *state, *... * - MUST set `channel_reserve_satoshis` greater than or equal to * `dust_limit_satoshis` from the `open_channel` message. - * - MUST set `dust_limit_satoshis` less than + * - MUST set `dust_limit_satoshis` less than or equal to * `channel_reserve_satoshis` from the `open_channel` message. */ if (state->localconf.channel_reserve_satoshis @@ -631,7 +631,7 @@ static u8 *fundee_channel(struct state *state, state->localconf.channel_reserve_satoshis, state->remoteconf->dust_limit_satoshis); if (state->localconf.dust_limit_satoshis - >= state->remoteconf->channel_reserve_satoshis) + > state->remoteconf->channel_reserve_satoshis) negotiation_failed(state, "Our dust limit %"PRIu64 " would be above their reserve %"PRIu64,