From 176b61e3171e18cf814a9390a5eff066ba8305ed Mon Sep 17 00:00:00 2001 From: Evgeniy Stratonikov Date: Tue, 14 Sep 2021 14:39:39 +0300 Subject: [PATCH] *: fix linter issues Signed-off-by: Evgeniy Stratonikov --- pkg/core/blockchain.go | 2 +- pkg/core/native/native_neo.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/core/blockchain.go b/pkg/core/blockchain.go index f2e7e14a1..719af0115 100644 --- a/pkg/core/blockchain.go +++ b/pkg/core/blockchain.go @@ -96,7 +96,7 @@ var ( ErrPolicy = errors.New("not allowed by policy") // ErrInvalidBlockIndex is returned when trying to add block with index // other than expected height of the blockchain. - ErrInvalidBlockIndex error = errors.New("invalid block index") + ErrInvalidBlockIndex = errors.New("invalid block index") // ErrHasConflicts is returned when trying to add some transaction which // conflicts with other transaction in the chain or pool according to // Conflicts attribute. diff --git a/pkg/core/native/native_neo.go b/pkg/core/native/native_neo.go index 391525f1f..f56914eab 100644 --- a/pkg/core/native/native_neo.go +++ b/pkg/core/native/native_neo.go @@ -212,7 +212,7 @@ func (n *NEO) Initialize(ic *interop.Context) error { } n.mint(ic, h, big.NewInt(NEOTotalSupply), false) - var index uint32 = 0 + var index uint32 value := big.NewInt(5 * GASFactor) err = n.putGASRecord(ic.DAO, index, value) if err != nil {