*: fix linter issues

Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgeniy Stratonikov 2021-09-14 14:39:39 +03:00
parent e503b068b6
commit 176b61e317
2 changed files with 2 additions and 2 deletions

View file

@ -96,7 +96,7 @@ var (
ErrPolicy = errors.New("not allowed by policy") ErrPolicy = errors.New("not allowed by policy")
// ErrInvalidBlockIndex is returned when trying to add block with index // ErrInvalidBlockIndex is returned when trying to add block with index
// other than expected height of the blockchain. // 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 // ErrHasConflicts is returned when trying to add some transaction which
// conflicts with other transaction in the chain or pool according to // conflicts with other transaction in the chain or pool according to
// Conflicts attribute. // Conflicts attribute.

View file

@ -212,7 +212,7 @@ func (n *NEO) Initialize(ic *interop.Context) error {
} }
n.mint(ic, h, big.NewInt(NEOTotalSupply), false) n.mint(ic, h, big.NewInt(NEOTotalSupply), false)
var index uint32 = 0 var index uint32
value := big.NewInt(5 * GASFactor) value := big.NewInt(5 * GASFactor)
err = n.putGASRecord(ic.DAO, index, value) err = n.putGASRecord(ic.DAO, index, value)
if err != nil { if err != nil {