fix: invalid parameter on zcash sends

This commit is contained in:
Neal 2022-03-21 15:35:45 -04:00
parent 6f9b985802
commit 2f93be8668

View file

@ -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 {