Repository navigation
Commit 918423e
fix(sdk-api): throw from getECDHKeychain when the user has none (Refs: WCN-3735)
getECDHKeychain returned an Error object instead of throwing it when
the user's settings had no ecdhKeychain. Callers read encryptedXprv off
the result, so they reported "encryptedXprv was not found on sharing
keychain" instead of the real cause.
The error now tells the client the account is missing its sharing key
and to contact support@bitgo.com so it can be set up.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>1 parent 93aea7d commit 918423e
2 files changed
Lines changed: 24 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1882 | 1882 | | |
1883 | 1883 | | |
1884 | 1884 | | |
1885 | | - | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
1886 | 1888 | | |
1887 | 1889 | | |
1888 | 1890 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1562 | 1562 | | |
1563 | 1563 | | |
1564 | 1564 | | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
| 1569 | + | |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
0 commit comments