mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
swarm/network/stream/: fix linter errors
This commit is contained in:
parent
1aff836004
commit
70b4c8b584
1 changed files with 1 additions and 1 deletions
|
|
@ -1340,7 +1340,7 @@ func TestGetSubscriptionsRPC(t *testing.T) {
|
|||
log.Debug("All node streams counted", "realCount", realCount)
|
||||
}
|
||||
emc := expectedMsgCount.count()
|
||||
// after a subscription request, internally a live AND a history stream will be subscirbed,
|
||||
// after a subscription request, internally a live AND a history stream will be subscribed,
|
||||
// thus the real count should be half of the actual request subscriptions sent
|
||||
if realCount/2 != emc {
|
||||
return fmt.Errorf("Real subscriptions and expected amount don't match; real: %d, expected: %d", realCount/2, emc)
|
||||
|
|
|
|||
Loading…
Reference in a new issue