Skip to content

Commit 2ce39bc

Browse files
author
henrye
committed
fix check
1 parent 9943ba9 commit 2ce39bc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • programs/autocrat_v0/src

programs/autocrat_v0/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ pub mod autocrat_v0 {
122122
dao.slots_per_proposal = THREE_DAYS_IN_SLOTS;
123123
dao.market_taker_fee = 0;
124124
// 100_000 price lots * quote lot size of 100 = 10_000_000 or $10 per quote lot size of meta, which is 0.1 meta
125-
dao.twap_expected_value = 100_000; // $100 USDC per 1 META
125+
dao.twap_expected_value = 100_000; // $100 USDC per 1 META
126126
dao.max_observation_change_per_update_lots = DEFAULT_MAX_OBSERVATION_CHANGE_PER_UPDATE_LOTS;
127127

128128
let (treasury_pubkey, treasury_bump) =
@@ -218,7 +218,7 @@ pub mod autocrat_v0 {
218218
AutocratError::InvalidMarket
219219
);
220220
require!(
221-
openbook_pass_market.quote_lot_size == 100,
221+
openbook_fail_market.quote_lot_size == 100,
222222
AutocratError::InvalidMarket
223223
);
224224
require!(

0 commit comments

Comments
 (0)