From 0267b61a836b09c35d919c8f123f0b8be6aab7df Mon Sep 17 00:00:00 2001 From: Wenbiao Zheng Date: Thu, 14 Jun 2018 22:24:35 +0800 Subject: [PATCH] accounts/keystore: assign schema as const instead of var (#16985) --- accounts/keystore/keystore.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounts/keystore/keystore.go b/accounts/keystore/keystore.go index 80ac1102d3f0..d4ea66f2e443 100644 --- a/accounts/keystore/keystore.go +++ b/accounts/keystore/keystore.go @@ -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