[#552] gofumpt changes
Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
This commit is contained in:
parent
7eb46404a1
commit
05f8f49289
2 changed files with 3 additions and 4 deletions
|
@ -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,
|
||||||
|
|
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue