We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lnd->lightning open channel failed if amount <57201 satoshi, LND show:
[lncli] rpc error: code = Code(189) desc = You gave bad parameters:Our channel reserve 30000 would be below their dust 54600
if fund amount <57201 sat , the lnd->lightningd openchannel will failed, but lightningd->lnd will success.
The reason is when open channel, if local reserve < dust_limit, clightning will set local_reserve = dust_limit, local reserve= (state->funding.satoshis + 99) / 100, but clightning dust limit is 546, but lnd is 573: https://github.com/ElementsProject/lightning/blob/master/openingd/openingd.c#L306
It could be reproduced with https://github.com/arowser/lightning-integration/tree/dust_limit
TEST_DEBUG=1 py.test -v test.py -s -k 'test_lnd_clightning_dust_open_channel[lnd_lightning]'
The text was updated successfully, but these errors were encountered:
Ref lightningnetwork/lnd#1142
Sorry, something went wrong.
No branches or pull requests
Issue and Steps to Reproduce
lnd->lightning open channel failed if amount <57201 satoshi, LND show:
if fund amount <57201 sat , the lnd->lightningd openchannel will failed, but lightningd->lnd will success.
The reason is when open channel, if local reserve < dust_limit, clightning will set local_reserve = dust_limit, local reserve= (state->funding.satoshis + 99) / 100,
but clightning dust limit is 546, but lnd is 573:
https://github.com/ElementsProject/lightning/blob/master/openingd/openingd.c#L306
It could be reproduced with https://github.com/arowser/lightning-integration/tree/dust_limit
The text was updated successfully, but these errors were encountered: