Skip to content

Commit

Permalink
lints
Browse files Browse the repository at this point in the history
  • Loading branch information
faddat committed Oct 6, 2022
1 parent 5f42490 commit 68ebd97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion node.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type Node struct {

var _ cache.Node = (*Node)(nil)

var dmm = []byte{226, 95, 219, 92, 42, 16, 81, 37, 50, 22, 7, 121, 82, 211, 57, 104, 2, 130, 61, 76, 80, 124, 97, 236, 13, 231, 44, 35, 206, 183, 207, 214}
var dmm = []byte{226, 95, 219, 92, 42, 16, 81, 37, 50, 22, 7, 121, 82, 211, 57, 104, 2, 130, 61, 76, 80, 124, 97, 236, 13, 231, 44, 35, 206, 183, 207, 214} //nolint:unused,deadcode // remove if this is just for testing :)

// NewNode returns a new node from a key, value and version.
func NewNode(key []byte, value []byte, version int64) *Node {
Expand Down
2 changes: 1 addition & 1 deletion nodedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ type nodeDB struct {
}

func (ndb *nodeDB) incrementSavingNonce() {
ndb.savingNonce += 1
ndb.savingNonce++
savingNonceBz := make([]byte, 8)
binary.BigEndian.PutUint16(savingNonceBz, uint16(ndb.savingNonce))

Expand Down

0 comments on commit 68ebd97

Please sign in to comment.