From 2f93be866871d68bbe6542613411da40691bfdb6 Mon Sep 17 00:00:00 2001 From: Neal Date: Mon, 21 Mar 2022 15:35:45 -0400 Subject: [PATCH] fix: invalid parameter on zcash sends --- lib/plugins/wallet/zcashd/zcashd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/wallet/zcashd/zcashd.js b/lib/plugins/wallet/zcashd/zcashd.js index 26762d4f..449c4436 100644 --- a/lib/plugins/wallet/zcashd/zcashd.js +++ b/lib/plugins/wallet/zcashd/zcashd.js @@ -64,7 +64,7 @@ function sendCoins (account, tx, settings, operatorId) { const checker = opid => pRetry(() => checkSendStatus(opid), { retries: 20, minTimeout: 300, factor: 1.05 }) return checkCryptoCode(cryptoCode) - .then(() => fetch('z_sendmany', ['ANY_TADDR', [{ toAddress, amount: coins }]])) + .then(() => fetch('z_sendmany', ['ANY_TADDR', [{ address: toAddress, amount: coins }]])) .then(checker) .then((res) => { return {