Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Commit

Permalink
fix: dont read when just doing a write
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobheun committed Jul 13, 2018
1 parent 0aa3a57 commit 4352e7c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,7 @@ class Network {
pull.values([msg]),
lp.encode(),
conn,
lp.decode(),
pull.collect((err) => callback(err))
pull.collect(callback)
)
}
}
Expand Down

0 comments on commit 4352e7c

Please sign in to comment.