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 4292a14 commit 780f556Copy full SHA for 780f556
program/src/oracle/oracle.c
@@ -566,7 +566,7 @@ static uint64_t upd_price( SolParameters *prm, SolAccountInfo *ka )
566
// Set publisher's status to unknown unless their CI is sufficiently tight.
567
int64_t threshold_conf = (cptr->price_ / PC_MAX_CI_DIVISOR);
568
if (threshold_conf < 0) {
569
- // Safe as long as threshold_conf isn't the min int64, which it isn't as long as PRICE_CONF_THRESHOLD > 1.
+ // Safe as long as threshold_conf isn't the min int64, which it isn't as long as PC_MAX_CI_DIVISOR > 1.
570
threshold_conf = -threshold_conf;
571
}
572
if ( cptr->conf_ > (uint64_t) threshold_conf ) {
0 commit comments