Comment
This commit is contained in:
parent
db4a0ddc59
commit
a968da10e9
1 changed files with 2 additions and 0 deletions
|
|
@ -99,6 +99,8 @@ const listenerForAddr = (addr, SEA) => async (order, orderID) => {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Gun might callback several times for the same order, avoid dupe
|
||||||
|
// processing.
|
||||||
if (ordersProcessed.has(orderID)) {
|
if (ordersProcessed.has(orderID)) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue