diff --git a/lib/plugins/wallet/monerod/monerod.js b/lib/plugins/wallet/monerod/monerod.js index 34c3d351..0d9573f5 100644 --- a/lib/plugins/wallet/monerod/monerod.js +++ b/lib/plugins/wallet/monerod/monerod.js @@ -99,11 +99,12 @@ function balance (account, cryptoCode) { return accountBalance(cryptoCode) } -function sendCoins (account, address, cryptoAtoms, cryptoCode) { +function sendCoins (account, tx, settings, operatorId, feeMultiplier) { + const { toAddress, cryptoAtoms, cryptoCode } = tx return checkCryptoCode(cryptoCode) .then(() => refreshWallet()) .then(() => fetch('transfer_split', { - destinations: [{ amount: cryptoAtoms, address }], + destinations: [{ amount: cryptoAtoms, address: toAddress }], account_index: 0, subaddr_indices: [], priority: 0,