Browse Source

openingd: update check to latest bolt revision.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 7 years ago
committed by Christian Decker
parent
commit
441a5b8835
  1. 4
      openingd/opening.c

4
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,

Loading…
Cancel
Save