Merge pull request #1170 from naconner/zec-fix

fix: invalid parameter on zcash sends
This commit is contained in:
Rafael Taranto 2022-03-28 17:42:06 +01:00 committed by GitHub
commit b8ae64a798

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 {