mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-02-14 11:04:25 +01:00
* `i := toDerive - 1` created an unsigned integer, the last loop iteration subtracted from zero causing this to underflow creating an infinite loop * Instead, initialized `i` as an int, and cast to uint as needed