fix: peer routing for delegate router (#377)

* fix: peer routing tests

* test: fix mock payload type

Provider results are type 4, not type 1: 6e566d10f4/routing/query.go (L15-L24)
This commit is contained in:
Vasco Santos
2019-07-12 14:02:03 +02:00
committed by Jacob Heun
parent 10811e9ced
commit 905c911946
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ module.exports = (node) => {
})
tryEach(tasks, (err, results) => {
if (err && err.code !== 'NOT_FOUND') {
if (err) {
return callback(err)
}
results = results || []