Commit 6800e77
committed
fix(abstract-lightning): correct derivation index computation
Change the BIP32 derivation index computation to ensure it's within a valid
range for hardened keys, using 2^31 - 1 as max value instead of 2^32.
BTC-2196
Co-authored-by: llm-git <[email protected]>
TICKET: BTC-21961 parent 5d61163 commit 6800e77
1 file changed
+6
-3
lines changedLines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
| 232 | + | |
232 | 233 | | |
233 | 234 | | |
234 | 235 | | |
235 | | - | |
236 | | - | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
237 | 240 | | |
238 | 241 | | |
0 commit comments