diff options
author | Wenbiao Zheng <delweng@gmail.com> | 2018-06-14 22:24:35 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-06-14 22:24:35 +0800 |
commit | c95e4a80d146d48a27828853dae8876ed16a9229 (patch) | |
tree | 0d47b236b628f2fae00aecad6d668e70fa91dd3c | |
parent | 897ea01d5ffa4204f1a58353e7cb6e1bbdf096aa (diff) | |
download | dexon-c95e4a80d146d48a27828853dae8876ed16a9229.tar.gz dexon-c95e4a80d146d48a27828853dae8876ed16a9229.tar.zst dexon-c95e4a80d146d48a27828853dae8876ed16a9229.zip |
accounts/keystore: assign schema as const instead of var (#16985)
-rw-r--r-- | accounts/keystore/keystore.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/keystore/keystore.go b/accounts/keystore/keystore.go index 80ccd3741..6b04acd05 100644 --- a/accounts/keystore/keystore.go +++ b/accounts/keystore/keystore.go @@ -50,7 +50,7 @@ var ( var KeyStoreType = reflect.TypeOf(&KeyStore{}) // KeyStoreScheme is the protocol scheme prefixing account and wallet URLs. -var KeyStoreScheme = "keystore" +const KeyStoreScheme = "keystore" // Maximum time between wallet refreshes (if filesystem notifications don't work). const walletRefreshCycle = 3 * time.Second |