Skip to content

Commit 2ed946e

Browse files
author
LazyLuis
committed
remove rejection
1 parent 78db2ab commit 2ed946e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

x/oracle/abci/extension.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,16 @@ func (h *PriceOracleVoteExtHandler) VerifyVoteExtensionHandler() sdk.VerifyVoteE
105105
return nil, fmt.Errorf("vote extension height does not match request height; expected: %d, got: %d", req.Height, voteExt.Height)
106106
}
107107

108-
if len(voteExt.Prices) > 0 {
109-
// check if a fack price is existing.
110-
if _, ok := voteExt.Prices[types.NULL_SYMBOL]; !ok {
111-
return &abci.ResponseVerifyVoteExtension{Status: abci.ResponseVerifyVoteExtension_REJECT}, nil
112-
}
113-
}
114-
115-
if voteExt.HasError {
116-
return &abci.ResponseVerifyVoteExtension{Status: abci.ResponseVerifyVoteExtension_REJECT}, nil
117-
}
108+
// if len(voteExt.Prices) > 0 {
109+
// // check if a fack price is existing.
110+
// if _, ok := voteExt.Prices[types.NULL_SYMBOL]; !ok {
111+
// return &abci.ResponseVerifyVoteExtension{Status: abci.ResponseVerifyVoteExtension_REJECT}, nil
112+
// }
113+
// }
114+
115+
// if voteExt.HasError {
116+
// return &abci.ResponseVerifyVoteExtension{Status: abci.ResponseVerifyVoteExtension_REJECT}, nil
117+
// }
118118

119119
for _, blk := range voteExt.Blocks {
120120
if err = blk.Validate(); err != nil {

0 commit comments

Comments
 (0)