Skip to content

Commit 9f283a5

Browse files
authored
Re-order e_cmd_upd_price_no_fail_on_error enum (#147)
1 parent e6997cc commit 9f283a5

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

program/src/oracle/oracle.h

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -221,12 +221,6 @@ typedef enum {
221221
// key[2] sysvar_clock account [readable]
222222
e_cmd_upd_price,
223223

224-
// publish component price, never returning an error even if the update failed
225-
// key[0] funding account [signer writable]
226-
// key[1] price account [writable]
227-
// key[2] sysvar_clock account [readable]
228-
e_cmd_upd_price_no_fail_on_error,
229-
230224
// compute aggregate price
231225
// key[0] funding account [signer writable]
232226
// key[1] price account [writable]
@@ -251,8 +245,13 @@ typedef enum {
251245
// set min publishers
252246
// key[0] funding account [signer writable]
253247
// key[1] price account [signer writable]
254-
e_cmd_set_min_pub
248+
e_cmd_set_min_pub,
255249

250+
// publish component price, never returning an error even if the update failed
251+
// key[0] funding account [signer writable]
252+
// key[1] price account [writable]
253+
// key[2] sysvar_clock account [readable]
254+
e_cmd_upd_price_no_fail_on_error,
256255
} command_t;
257256

258257
typedef struct cmd_hdr

0 commit comments

Comments
 (0)