chore: update wallet nodes

This commit is contained in:
Neal 2025-05-15 14:14:43 -04:00
parent f8a82bb84b
commit eb34dad29c
2 changed files with 31 additions and 18 deletions

View file

@ -42,6 +42,19 @@ function updateCore(coinRec, isCurrentlyRunning) {
)
}
if (
common.es(
`grep "i-am-aware-zcashd-will-be-replaced-by-zebrad-and-zallet-in-2025=" /mnt/blockchains/zcash/zcash.conf || true`,
)
) {
common.logger.info(`i-am-aware-zcashd-will-be-replaced-by-zebrad-and-zallet-in-2025 already defined, skipping...`)
} else {
common.logger.info(`Setting 'i-am-aware-zcashd-will-be-replaced-by-zebrad-and-zallet-in-2025=1' in config file...`)
common.es(
`echo "\ni-am-aware-zcashd-will-be-replaced-by-zebrad-and-zallet-in-2025=1" >> /mnt/blockchains/zcash/zcash.conf`,
)
}
if (isCurrentlyRunning) {
common.logger.info('Starting wallet...')
common.es(`sudo supervisorctl start zcash`)