From bf6435eeaa729d61572aebe0a4220428567712a6 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Fri, 5 Jun 2020 18:23:48 +0300 Subject: [PATCH] storage: drop STValidator prefix, it's not used --- pkg/core/storage/store.go | 1 - pkg/core/storage/store_test.go | 2 -- 2 files changed, 3 deletions(-) diff --git a/pkg/core/storage/store.go b/pkg/core/storage/store.go index 6aab1c9c2..6400c2a87 100644 --- a/pkg/core/storage/store.go +++ b/pkg/core/storage/store.go @@ -10,7 +10,6 @@ const ( DataBlock KeyPrefix = 0x01 DataTransaction KeyPrefix = 0x02 STAccount KeyPrefix = 0x40 - STValidator KeyPrefix = 0x48 STAsset KeyPrefix = 0x4c STNotification KeyPrefix = 0x4d STContract KeyPrefix = 0x50 diff --git a/pkg/core/storage/store_test.go b/pkg/core/storage/store_test.go index 7b90b4d67..b2a9a9bcd 100644 --- a/pkg/core/storage/store_test.go +++ b/pkg/core/storage/store_test.go @@ -11,7 +11,6 @@ var ( DataBlock, DataTransaction, STAccount, - STValidator, STAsset, STContract, STStorage, @@ -25,7 +24,6 @@ var ( 0x01, 0x02, 0x40, - 0x48, 0x4c, 0x50, 0x70,