Commit c18fb8f
committed
basic-price-oracle: specify error code
Simply passes an error code of 1 (unsupported subject asset) where
appropriate in the mock oracle. The raw code is used instead of
oraclerpc.UNSUPPORTED or similar to avoid dependency changes at present.
Also adds the mock oracle's log to gitignore.1 parent 8e885e7 commit c18fb8f
2 files changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| 309 | + | |
309 | 310 | | |
310 | 311 | | |
311 | 312 | | |
| |||
326 | 327 | | |
327 | 328 | | |
328 | 329 | | |
| 330 | + | |
329 | 331 | | |
330 | 332 | | |
331 | 333 | | |
| |||
0 commit comments