Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit bc43258

Browse files
Alan Shawdaviddias
Alan Shaw
authored andcommitted
refactor: rmeove unnecessary series
1 parent 2982fd5 commit bc43258

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/utils/circuit.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,7 @@ exports.connWithTimeout = (timeout) => {
163163
}
164164

165165
const disconnect = (nodeA, nodeB, callback) => {
166-
series([
167-
(cb) => nodeA.ipfsd.api.swarm.disconnect(getCircuitAddr(nodeB.addrs), cb)
168-
], callback)
166+
nodeA.ipfsd.api.swarm.disconnect(getCircuitAddr(nodeB.addrs), callback)
169167
}
170168

171169
exports.disconnect = disconnect

0 commit comments

Comments
 (0)