Skip to content

Commit b4f23ca

Browse files
committed
correct 1 conf typo
1 parent 44c55b0 commit b4f23ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyth-sdk/src/price.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ impl Price {
152152
};
153153
let discount_precision_as_price = Price {
154154
price: utils::u64_to_i64(discount_precision)?,
155-
conf: 1,
155+
conf: 0,
156156
expo: 0,
157157
publish_time: 0,
158158
};
@@ -248,7 +248,7 @@ impl Price {
248248
};
249249
let premium_precision_as_price = Price {
250250
price: utils::u64_to_i64(premium_precision)?,
251-
conf: 1,
251+
conf: 0,
252252
expo: 0,
253253
publish_time: 0,
254254
};

0 commit comments

Comments
 (0)