aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/crypto.go
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2015-07-03 05:58:00 +0800
committerzelig <viktor.tron@gmail.com>2015-07-03 10:19:32 +0800
commitfc17a527bc2bd07fc30e16d161059a441042d5f1 (patch)
tree9a3c5b52c16043f61c1ddf73311ae50a2061a039 /crypto/crypto.go
parenta4df9d74eabb3bef8449744c4fe966572586dc39 (diff)
downloaddexon-fc17a527bc2bd07fc30e16d161059a441042d5f1.tar.gz
dexon-fc17a527bc2bd07fc30e16d161059a441042d5f1.tar.zst
dexon-fc17a527bc2bd07fc30e16d161059a441042d5f1.zip
fix account ordering
* chronological order of creation * new naming scheme keystore/UTC--<created_at UTC ISO8601>-<address hex> * KeyStore2 -> KeyStore * backward compatibility * refactor keyStore methods
Diffstat (limited to 'crypto/crypto.go')
-rw-r--r--crypto/crypto.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/crypto.go b/crypto/crypto.go
index 153bbbc5d..deef67415 100644
--- a/crypto/crypto.go
+++ b/crypto/crypto.go
@@ -209,7 +209,7 @@ func ImportBlockTestKey(privKeyBytes []byte) error {
}
// creates a Key and stores that in the given KeyStore by decrypting a presale key JSON
-func ImportPreSaleKey(keyStore KeyStore2, keyJSON []byte, password string) (*Key, error) {
+func ImportPreSaleKey(keyStore KeyStore, keyJSON []byte, password string) (*Key, error) {
key, err := decryptPreSaleKey(keyJSON, password)
if err != nil {
return nil, err