mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-21 23:29:38 +00:00
golangci: enable/fix misspell
This commit is contained in:
parent
4f3ffe7290
commit
63f212f4b3
3 changed files with 3 additions and 2 deletions
|
@ -46,6 +46,7 @@ linters:
|
|||
- contextcheck
|
||||
- errorlint
|
||||
- gofmt
|
||||
- misspell
|
||||
- whitespace
|
||||
- goimports
|
||||
disable-all: true
|
||||
|
|
|
@ -77,7 +77,7 @@ func TestAddBlock(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestRemoveOldTransfers(t *testing.T) {
|
||||
// Creating proper number of transfers/blocks takes unneccessary time, so emulate
|
||||
// Creating proper number of transfers/blocks takes unnecessary time, so emulate
|
||||
// some DB with stale entries.
|
||||
bc := newTestChain(t)
|
||||
h, err := bc.GetHeader(bc.GetHeaderHash(0))
|
||||
|
|
|
@ -37,7 +37,7 @@ type Billet struct {
|
|||
|
||||
// NewBillet returns a new billet for MPT trie restoring. It accepts a MemCachedStore
|
||||
// to decouple storage errors from logic errors so that all storage errors are
|
||||
// processed during `store.Persist()` at the caller. Another benifit is
|
||||
// processed during `store.Persist()` at the caller. Another benefit is
|
||||
// that every `Put` can be considered an atomic operation.
|
||||
func NewBillet(rootHash util.Uint256, mode TrieMode, prefix storage.KeyPrefix, store *storage.MemCachedStore) *Billet {
|
||||
return &Billet{
|
||||
|
|
Loading…
Reference in a new issue