Skip to content

Commit

Permalink
Merge 2bac1b2 into 88b765b
Browse files Browse the repository at this point in the history
  • Loading branch information
Kynea0b authored Nov 19, 2021
2 parents 88b765b + 2bac1b2 commit badbaa6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,8 @@ cd test/e2e && \

### Maverick

**If you're changing the code in `consensus` package, please make sure to
replicate all the changes in `./test/maverick/consensus`**. Maverick is a
**If you're changing the code in `consensus` package or `node` package, please make sure to
replicate all the changes in `./test/maverick/consensus`** and `./test/maverick/node`**. Maverick is a
byzantine node used to assert that the validator gets punished for malicious
behavior.

Expand Down
2 changes: 1 addition & 1 deletion test/maverick/consensus/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -1807,7 +1807,7 @@ func (cs *State) signVote(
return nil, errPubKeyIsNotSet
}
addr := cs.privValidatorPubKey.Address()
valIdx, _ := cs.Validators.GetByAddress(addr)
valIdx, _ := cs.Voters.GetByAddress(addr)

vote := &types.Vote{
ValidatorAddress: addr,
Expand Down

0 comments on commit badbaa6

Please sign in to comment.