aboutsummaryrefslogtreecommitdiffstats
path: root/accounts
diff options
context:
space:
mode:
authorWenbiao Zheng <delweng@gmail.com>2018-06-14 22:24:35 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-06-14 22:24:35 +0800
commitc95e4a80d146d48a27828853dae8876ed16a9229 (patch)
tree0d47b236b628f2fae00aecad6d668e70fa91dd3c /accounts
parent897ea01d5ffa4204f1a58353e7cb6e1bbdf096aa (diff)
downloadgo-tangerine-c95e4a80d146d48a27828853dae8876ed16a9229.tar
go-tangerine-c95e4a80d146d48a27828853dae8876ed16a9229.tar.gz
go-tangerine-c95e4a80d146d48a27828853dae8876ed16a9229.tar.bz2
go-tangerine-c95e4a80d146d48a27828853dae8876ed16a9229.tar.lz
go-tangerine-c95e4a80d146d48a27828853dae8876ed16a9229.tar.xz
go-tangerine-c95e4a80d146d48a27828853dae8876ed16a9229.tar.zst
go-tangerine-c95e4a80d146d48a27828853dae8876ed16a9229.zip
accounts/keystore: assign schema as const instead of var (#16985)
Diffstat (limited to 'accounts')
-rw-r--r--accounts/keystore/keystore.go2
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