accounts/keystore: assign schema as const instead of var (#16985)

This commit is contained in:
Wenbiao Zheng 2018-06-14 22:24:35 +08:00 committed by Péter Szilágyi
parent 897ea01d5f
commit c95e4a80d1

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