mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-22 20:17:51 +01:00
If `lncli profile remove` is called when there are no existing profiles, it will cause a "cap out of range" panic. So in this commit, a length check is added to avoid this.
12 KiB
12 KiB