talaia-labs / rust-teos

The Eye of Satoshi - Lightning Watchtower
https://talaia.watch
MIT License
128 stars 62 forks source link

Avoids setting the state of unregistered towers #166

Closed sr-gi closed 1 year ago

sr-gi commented 1 year ago

On failed fresh register the client was trying to set the tower status of an unknown tower. This was generating a **BORKEN** log in lightningd's logs.

Adds an additional check for register to prevent this.