diff options
author | Eli <elihanover@yahoo.com> | 2018-05-04 16:04:17 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-05-04 16:04:17 +0800 |
commit | 16f3c31773c6daf57afe718719821a897fa1a2c7 (patch) | |
tree | 5bb3deb47eb8e6bbde51c40caace5597912d21b2 /signer/core/api.go | |
parent | 5b3af4c3d1455bc3e4a1c4aa514423683c8aaf7b (diff) | |
download | dexon-16f3c31773c6daf57afe718719821a897fa1a2c7.tar.gz dexon-16f3c31773c6daf57afe718719821a897fa1a2c7.tar.zst dexon-16f3c31773c6daf57afe718719821a897fa1a2c7.zip |
signer: fix golint errors (#16653)
* signer/*: golint fixes
Specifically naming and comment formatting for documentation
* signer/*: fixed naming error crashing build
* signer/*: corrected error
* signer/core: fix tiny error whitespace
* signer/rules: fix test refactor
Diffstat (limited to 'signer/core/api.go')
-rw-r--r-- | signer/core/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/signer/core/api.go b/signer/core/api.go index 1387041cc..45933284b 100644 --- a/signer/core/api.go +++ b/signer/core/api.go @@ -474,7 +474,7 @@ func (api *SignerAPI) Export(ctx context.Context, addr common.Address) (json.Raw return ioutil.ReadFile(wallet.URL().Path) } -// Imports tries to import the given keyJSON in the local keystore. The keyJSON data is expected to be +// Import tries to import the given keyJSON in the local keystore. The keyJSON data is expected to be // in web3 keystore format. It will decrypt the keyJSON with the given passphrase and on successful // decryption it will encrypt the key with the given newPassphrase and store it in the keystore. func (api *SignerAPI) Import(ctx context.Context, keyJSON json.RawMessage) (Account, error) { |