MoneroOcean / nodejs-pool

Official repository of MoneroOcean (XMR) mining pool
https://moneroocean.stream
Other
116 stars 71 forks source link

Avoid doing payment for different pool types for all wallet types at the same time #82

Closed 1rV1N-git closed 5 years ago

MoneroOcean commented 5 years ago

payee.address adress has paymentid, see function Payee, so we really only need only part of your change in this line:

if (row.payment_address in payeeObjects) return next(); // avoid doing payment for different pool types at the same time

Also likely moving "payeeObjects[payee.address] = payee;" line like you did (before if) make sense.

Can you please correct your PR?

1rV1N-git commented 5 years ago

@MoneroOcean this variant ok?

MoneroOcean commented 5 years ago

Thanks!