tests, signer: remove staticcheck warnings (#20364)
This commit is contained in:
committed by
Felix Lange
parent
fdff182f11
commit
5d21667587
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user