|
|
@ -13,7 +13,7 @@ module.exports = (shepherd) => { |
|
|
|
const chain = req.query.chain; |
|
|
|
|
|
|
|
// ref: https://gist.github.com/kendricktan/1e62495150ad236b38616d733aac4eb9
|
|
|
|
let _walletDatLocation = chain === 'komodo' || chain === 'null' ? `${shepherd.komodoDir}/wallet.dat` : `${shepherd.komodoDir}/${chain}/wallet.dat`; |
|
|
|
let _walletDatLocation = chain === 'komodo' || chain === 'KMD' || chain === 'null' ? `${shepherd.komodoDir}/wallet.dat` : `${shepherd.komodoDir}/${chain}/wallet.dat`; |
|
|
|
_walletDatLocation = chain === 'CHIPS' ? `${shepherd.chipsDir}/wallet.dat` : _walletDatLocation; |
|
|
|
|
|
|
|
try { |
|
|
|