A few minor code inspection fixes (#18393)
* swarm/network: fix code inspection problems - typos - redundant import alias * p2p/simulations: fix code inspection problems - typos - unused function parameters - redundant import alias - code style issue: snake case * swarm/network: fix unused method parameters inspections
This commit is contained in:
committed by
Viktor Trón
parent
072c95fb74
commit
fe03b76ffe
@@ -21,7 +21,7 @@ import "github.com/ethereum/go-ethereum/p2p/enode"
|
||||
// BucketKey is the type that should be used for keys in simulation buckets.
|
||||
type BucketKey string
|
||||
|
||||
// NodeItem returns an item set in ServiceFunc function for a particualar node.
|
||||
// NodeItem returns an item set in ServiceFunc function for a particular node.
|
||||
func (s *Simulation) NodeItem(id enode.ID, key interface{}) (value interface{}, ok bool) {
|
||||
s.mu.Lock()
|
||||
defer s.mu.Unlock()
|
||||
|
Reference in New Issue
Block a user