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

This commit is contained in:
Daniel Liu 2025-01-14 10:56:06 +08:00
parent 543900aed2
commit 27725104b4

View file

@ -49,7 +49,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