Commit e4e12df
committed
fix(API): surface wallet connection errors in trusted peer view
getWalletConnections catches errors internally and returns
{ success: false, error } instead of throwing, so settle() always
sees ok: true. Check value.success before treating connections as
valid, and surface the inner error when the wallet call failed.1 parent aa6a7ff commit e4e12df
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
205 | 207 | | |
206 | 208 | | |
207 | 209 | | |
| |||
0 commit comments