decred / dcrlnd

Decred Lightning Network Daemon ⚡️
MIT License
36 stars 24 forks source link

Hitting unused Address gap limit #169

Closed alexlyp closed 1 year ago

alexlyp commented 1 year ago

Background

Through just normal usage, I have hit dcrlnwallet's gap limit, but not sure how to remove that limitation to open new channels or close existing channels.

Your environment

Steps to reproduce

Not sure exactly how to reproduce, but basically just normal usage. Created some deposit addresses, opened and closed some channels. But now whenever I attempt to do any of that I get the gap limit error.

matheusd commented 1 year ago

Looks to be an issue with not using the correct mode for wrapping addresses (iirc we saw that once in decrediton, when dcrwallet changed the default mode from wrapping to error). Will look into fixing it.