Merge pull request #1129 from josepfo/fix/undefined-plugin-on-l-s-c

fix: send coins function arguments
This commit is contained in:
Rafael Taranto 2022-02-24 20:47:20 +00:00 committed by GitHub
commit 208558db34

View file

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