Commit c5c22ad
committed
fix(cliv2): scanning fails when birthday block does not exist
When the wallet is just created, there is no blocks on the LocalChain,
making the request of the birthday checkpoint impossible to serve.
This change avoids the issue by directly using the height and hash set
on the wallet.birthday field.1 parent 4f96a0e commit c5c22ad
1 file changed
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
| 338 | + | |
345 | 339 | | |
346 | 340 | | |
347 | 341 | | |
| |||
0 commit comments