From 591ffe52d483c365984114f01e2422d924f7b03c Mon Sep 17 00:00:00 2001
From: "alex.sharov" <AskAlexSharov@gmail.com>
Date: Mon, 31 May 2021 17:16:39 +0700
Subject: [PATCH] fix const problem

---
 common/dbutils/bucket.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/common/dbutils/bucket.go b/common/dbutils/bucket.go
index 2bae48a1f6..b40f9ae3d7 100644
--- a/common/dbutils/bucket.go
+++ b/common/dbutils/bucket.go
@@ -48,7 +48,7 @@ const PlainStateBucketOld1 = "PLAIN-CST"
 //PlainContractCodeBucket -
 //key - address+incarnation
 //value - code hash
-var PlainContractCodeBucket = "PLAIN-contractCode"
+const PlainContractCodeBucket = "PLAIN-contractCode"
 
 /*
 AccountChangeSetBucket and StorageChangeSetBucket - of block N store values of state before block N changed them.
@@ -74,8 +74,8 @@ StorageChangeSetBucket:
 	key - blockNum_u64 + address + incarnation_u64
 	value - plain_storage_key + value
 */
-var AccountChangeSetBucket = "PLAIN-ACS"
-var StorageChangeSetBucket = "PLAIN-SCS"
+const AccountChangeSetBucket = "PLAIN-ACS"
+const StorageChangeSetBucket = "PLAIN-SCS"
 
 const (
 
-- 
GitLab