aboutsummaryrefslogtreecommitdiffstats
path: root/signer/core/api.go
diff options
context:
space:
mode:
authorEli <elihanover@yahoo.com>2018-05-04 16:04:17 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-05-04 16:04:17 +0800
commit16f3c31773c6daf57afe718719821a897fa1a2c7 (patch)
tree5bb3deb47eb8e6bbde51c40caace5597912d21b2 /signer/core/api.go
parent5b3af4c3d1455bc3e4a1c4aa514423683c8aaf7b (diff)
downloadgo-tangerine-16f3c31773c6daf57afe718719821a897fa1a2c7.tar
go-tangerine-16f3c31773c6daf57afe718719821a897fa1a2c7.tar.gz
go-tangerine-16f3c31773c6daf57afe718719821a897fa1a2c7.tar.bz2
go-tangerine-16f3c31773c6daf57afe718719821a897fa1a2c7.tar.lz
go-tangerine-16f3c31773c6daf57afe718719821a897fa1a2c7.tar.xz
go-tangerine-16f3c31773c6daf57afe718719821a897fa1a2c7.tar.zst
go-tangerine-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.go2
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) {