tests, signer: remove staticcheck warnings (#20364)

This commit is contained in:
Guillaume Ballet
2019-11-23 12:51:37 +01:00
committed by Felix Lange
parent fdff182f11
commit 5d21667587
12 changed files with 60 additions and 68 deletions

View File

@ -173,7 +173,7 @@ func (s *UIServerAPI) Export(ctx context.Context, addr common.Address) (json.Raw
return nil, err
}
if wallet.URL().Scheme != keystore.KeyStoreScheme {
return nil, fmt.Errorf("Account is not a keystore-account")
return nil, fmt.Errorf("account is not a keystore-account")
}
return ioutil.ReadFile(wallet.URL().Path)
}