Skip to content

Commit 7ad917c

Browse files
author
LazyLuis
committed
fixed issue
1 parent 46e5efc commit 7ad917c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

x/oracle/abci/extension.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ func (h *PriceOracleVoteExtHandler) extractPricesAndBlockHeaders(_ sdk.Context,
369369

370370
h.logger.Warn("extension", "validator", hex.EncodeToString(v.Validator.Address), "extension", voteExt)
371371

372-
// totalStake += v.Validator.Power
372+
totalStake += v.Validator.Power
373373

374374
// Compute stake-weighted average of prices for each supported pair, i.e.
375375
// (P1)(W1) + (P2)(W2) + ... + (Pn)(Wn) / (W1 + W2 + ... + Wn)

0 commit comments

Comments
 (0)