Commit abaef77
committed
kvdb: return empty result for a missing scope in ListAccounts
selectScopedManagers mapped a missing key scope to ErrAccountNotFound,
diverging from the documented empty-list semantics of the Store contract and
from the SQL backend. Treat a missing scope as an empty result.1 parent d6ef30e commit abaef77
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
201 | 208 | | |
202 | 209 | | |
203 | 210 | | |
| |||
0 commit comments