From a5837002bdbf91726c933fb43d0f3ff34c03e0da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Oliveira?= Date: Wed, 3 Mar 2021 19:25:39 +0000 Subject: [PATCH] fix: non-error was thrown --- 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 e76acf0e..459bd5a3 100644 --- a/lib/plugins/wallet/zcashd/zcashd.js +++ b/lib/plugins/wallet/zcashd/zcashd.js @@ -65,7 +65,7 @@ function sendCoins (account, address, cryptoAtoms, cryptoCode) { case 'failed': throw new pRetry.AbortError(res[0].error) case 'executing': - reject(res[0].error) + reject(new Error('operation still executing')) break } })