fix: send coins function arguments

This commit is contained in:
José Oliveira 2022-02-23 18:56:57 +00:00
parent 3c33695b9d
commit 5eb4fca5a9

View file

@ -75,7 +75,7 @@ settingsLoader.loadLatest()
} }
console.log('Sending...') console.log('Sending...')
return wallet.sendCoins(settings, toAddress, cryptoAtoms, cryptoCode) return wallet.sendCoins(settings, { toAddress, cryptoAtoms, cryptoCode })
.then(() => { .then(() => {
console.log('Success.') console.log('Success.')
process.exit(0) process.exit(0)