accounts/keystore: assign schema as const instead of var

This commit is contained in:
Delweng Zheng 2018-06-14 21:18:30 +08:00
parent aa34173f13
commit 0d8f35f75e

View file

@ -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