Merge pull request #38 from libp2p/fix/pass-error

Pass error
This commit is contained in:
David Dias
2017-01-19 16:01:02 +01:00
committed by GitHub

View File

@ -18,7 +18,7 @@ function closeAndWait (stream, callback) {
pull(
pull.empty(),
stream,
pull.onEnd(() => callback())
pull.onEnd(callback)
)
}