diff options
author | Ferenc Szabo <frncmx@gmail.com> | 2019-01-06 18:58:57 +0800 |
---|---|---|
committer | Viktor TrĂ³n <viktor.tron@gmail.com> | 2019-01-06 18:58:57 +0800 |
commit | fe03b76ffe9f9d48b09f4d93f18fae1e5ad4c1f4 (patch) | |
tree | a23d6d5014d1b81d60e741b15e4616d4f18116a7 /swarm/network/simulation/bucket_test.go | |
parent | 072c95fb74ac108e93207a8052e641cfaf863105 (diff) | |
download | dexon-fe03b76ffe9f9d48b09f4d93f18fae1e5ad4c1f4.tar dexon-fe03b76ffe9f9d48b09f4d93f18fae1e5ad4c1f4.tar.gz dexon-fe03b76ffe9f9d48b09f4d93f18fae1e5ad4c1f4.tar.bz2 dexon-fe03b76ffe9f9d48b09f4d93f18fae1e5ad4c1f4.tar.lz dexon-fe03b76ffe9f9d48b09f4d93f18fae1e5ad4c1f4.tar.xz dexon-fe03b76ffe9f9d48b09f4d93f18fae1e5ad4c1f4.tar.zst dexon-fe03b76ffe9f9d48b09f4d93f18fae1e5ad4c1f4.zip |
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
Diffstat (limited to 'swarm/network/simulation/bucket_test.go')
-rw-r--r-- | swarm/network/simulation/bucket_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/network/simulation/bucket_test.go b/swarm/network/simulation/bucket_test.go index 69df19bfe..2273d35a2 100644 --- a/swarm/network/simulation/bucket_test.go +++ b/swarm/network/simulation/bucket_test.go @@ -24,7 +24,7 @@ import ( "github.com/ethereum/go-ethereum/p2p/simulations/adapters" ) -// TestServiceBucket tests all bucket functionalities using subtests. +// TestServiceBucket tests all bucket functionality using subtests. // It constructs a simulation of two nodes by adding items to their buckets // in ServiceFunc constructor, then by SetNodeItem. Testing UpNodesItems // is done by stopping one node and validating availability of its items. |