We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0eb08f commit 1a0db85Copy full SHA for 1a0db85
pyth-sdk/src/price.rs
@@ -1908,7 +1908,7 @@ mod test {
1908
pc(-1000, 0, -9),
1909
500,
1910
-9,
1911
- pc(-500, 92_23_372_000_000_000_000, -9),
+ pc(-500, 9_223_372_000_000_000_000, -9),
1912
);
1913
// test with MAX_PD_V_U64 in conf--no loss in precision unlike above
1914
succeeds(
@@ -2053,9 +2053,9 @@ mod test {
2053
2054
pub fn construct_quickcheck_affine_combination_price(price: i64) -> Price {
2055
Price {
2056
- price: price,
2057
- conf: 0,
2058
- expo: -9,
+ price,
+ conf: 0,
+ expo: -9,
2059
publish_time: 0,
2060
}
2061
0 commit comments