Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Migrating existing docker nodes that have completed eth jobs that require manual payout prevent dockerless node start #16

Open
CosmiCloud opened this issue Jul 18, 2021 · 2 comments

Comments

@CosmiCloud
Copy link

Fix: cd /ot-node/5.0.4/modules/migration# sudo nano m1-payout-all-migration.js

ALTER:
* Run migration
/
async run() {
/
get all pending payouts */
let pendingPayOuts = await models.commands.findAll({
where: {
status: 'PENDING',
name: 'dhPayOutCommand',
},
});

TO:
* Run migration
/
async run() {
return;
/
get all pending payouts */
let pendingPayOuts = await models.commands.findAll({
where: {
status: 'PENDING',
name: 'dhPayOutCommand',
},
});

IN:
m1-payout-all-migration.js

This will prevent the automated payout.

@lukeskinner
Copy link

+1

@calr0x
Copy link
Owner

calr0x commented Aug 11, 2021 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants