[#552] gofumpt changes

Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
This commit is contained in:
Ekaterina Lebedeva 2023-12-12 15:36:27 +03:00
parent 7eb46404a1
commit 05f8f49289
2 changed files with 3 additions and 4 deletions

View file

@ -23,7 +23,8 @@ var _ engine.LocalOverrideEngine = (*accessPolicyEngine)(nil)
func newAccessPolicyEngine( func newAccessPolicyEngine(
morphChainStorage engine.MorphRuleChainStorage, morphChainStorage engine.MorphRuleChainStorage,
localOverrideDatabase chainbase.LocalOverrideDatabase) *accessPolicyEngine { localOverrideDatabase chainbase.LocalOverrideDatabase,
) *accessPolicyEngine {
return &accessPolicyEngine{ return &accessPolicyEngine{
chainRouter: engine.NewDefaultChainRouterWithLocalOverrides( chainRouter: engine.NewDefaultChainRouterWithLocalOverrides(
morphChainStorage, morphChainStorage,

View file

@ -22,9 +22,7 @@ type boltLocalOverrideStorage struct {
db *bbolt.DB db *bbolt.DB
} }
var ( var chainBucket = []byte{0}
chainBucket = []byte{0}
)
var ( var (
ErrChainBucketNotFound = logicerr.New("chain root bucket has not been found") ErrChainBucketNotFound = logicerr.New("chain root bucket has not been found")