mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-03 01:18:59 +02: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