correct retrier
This commit is contained in:
parent
ec9812158c
commit
e5eff0c613
1 changed files with 2 additions and 2 deletions
|
|
@ -59,11 +59,11 @@ const listenerForAddr = (addr, SEA) => async (order, orderID) => {
|
||||||
.then(),
|
.then(),
|
||||||
v => {
|
v => {
|
||||||
// only retry once, because of the timeout
|
// only retry once, because of the timeout
|
||||||
if (typeof v === 'undefined' && hasRetried) {
|
if (hasRetried) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
hasRetried = true
|
hasRetried = true
|
||||||
return true
|
return typeof v === 'undefined'
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue