lint: update and appease the linter (#6101)

Closes: #5775
This commit is contained in:
Callum Waters
2021-02-16 12:41:36 +04:00
committed by GitHub
parent 2e406e0d78
commit 84904ecef1
54 changed files with 81 additions and 134 deletions
+1 -1
View File
@@ -179,7 +179,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{