fix lint failures with 1.31 (#5489)

This commit is contained in:
Marko
2020-10-13 10:22:53 +02:00
committed by GitHub
parent 7121f68f25
commit 346aa14db5
58 changed files with 98 additions and 144 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ func isValidatorTx(tx []byte) bool {
func (app *PersistentKVStoreApplication) execValidatorTx(tx []byte) types.ResponseDeliverTx {
tx = tx[len(ValidatorSetChangePrefix):]
//get the pubkey and power
// get the pubkey and power
pubKeyAndPower := strings.Split(string(tx), "!")
if len(pubKeyAndPower) != 2 {
return types.ResponseDeliverTx{