Skip to content

Commit

Permalink
Fix additional lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Dec 6, 2021
1 parent 4dddd84 commit f2a7d9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dot/peerset/peerset.go
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ func (ps *PeerSet) allocSlots(setIdx int) error {

logger.Debugf("Sent connect message to peer %s", peerID)
}
return nil //nolint:nilerr
return nil
}

func (ps *PeerSet) addReservedPeers(setID int, peers ...peer.ID) error {
Expand Down
3 changes: 2 additions & 1 deletion dot/rpc/modules/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,9 @@ func (sm *StateModule) QueryStorage(
changes = append(changes, []string{key, value})
}

blochHash := block
response = append(response, StorageChangeSetResponse{
Block: &block,
Block: &blochHash,
Changes: changes,
})
}
Expand Down

0 comments on commit f2a7d9e

Please sign in to comment.