Skip to content

Commit 8e2b670

Browse files
author
Jayant Krishnamurthy
committed
change range on decimals
1 parent 83cc606 commit 8e2b670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

program/rust/src/c_oracle_header.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ include!("../bindings.rs");
1111
pub const MAX_CI_DIVISOR: i64 = 3;
1212
/// Bound on the range of the exponent in price accounts. This number is set such that the
1313
/// PD-based EMA computation does not lose too much precision.
14-
pub const MAX_NUM_DECIMALS: i32 = 8;
14+
pub const MAX_NUM_DECIMALS: i32 = 12;
1515
pub const PRICE_ACCOUNT_DEFAULT_MIN_PUB: u8 = 20;

0 commit comments

Comments
 (0)