mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
openingd: update check to latest bolt revision.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
83f83f7685
commit
441a5b8835
@ -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…
Reference in New Issue
Block a user