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

pull/16782/merge
Wenbiao Zheng 6 years ago committed by Péter Szilágyi
parent 897ea01d5f
commit c95e4a80d1
  1. 2
      accounts/keystore/keystore.go

@ -50,7 +50,7 @@ var (
var KeyStoreType = reflect.TypeOf(&KeyStore{}) var KeyStoreType = reflect.TypeOf(&KeyStore{})
// KeyStoreScheme is the protocol scheme prefixing account and wallet URLs. // 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). // Maximum time between wallet refreshes (if filesystem notifications don't work).
const walletRefreshCycle = 3 * time.Second const walletRefreshCycle = 3 * time.Second

Loading…
Cancel
Save