Skip to content

Commit

Permalink
add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Ganesha Upadhyaya authored and Ganesha Upadhyaya committed Mar 7, 2024
1 parent 522dc49 commit 1f36f86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions baseapp/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ func (app *BaseApp) InitChain(req *abci.RequestInitChain) (*abci.ResponseInitCha

for i := range res.Validators {
if !proto.Equal(&res.Validators[i], &req.Validators[i]) {
fmt.Println(res.Validators[i], req.Validators[i])
return nil, fmt.Errorf("genesisValidators[%d] != req.Validators[%d] ", i, i)
}
}
Expand Down

0 comments on commit 1f36f86

Please sign in to comment.