*: fix linter issues
Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
e503b068b6
commit
176b61e317
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue