From 54edb63d0745abcfc937930ca23f0c7cdfca2a50 Mon Sep 17 00:00:00 2001 From: Sai Raj <39055732+sairajzero@users.noreply.github.com> Date: Sat, 21 Jan 2023 03:13:28 +0530 Subject: [PATCH] Update btcOperator.js --- btcOperator.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/btcOperator.js b/btcOperator.js index c81f2e2..7f93336 100644 --- a/btcOperator.js +++ b/btcOperator.js @@ -1,4 +1,4 @@ -(function (EXPORTS) { //btcOperator v1.0.14b +(function (EXPORTS) { //btcOperator v1.0.14c /* BTC Crypto and API Operator */ const btcOperator = EXPORTS; @@ -308,7 +308,7 @@ parameters.privkeys[i] = coinjs.privkey2wif(key); }); if (invalids.length) - throw "Invalid keys:" + invalids; + throw "Invalid private key for address:" + invalids; } //receiver-ids (and change-id) if (!Array.isArray(parameters.receivers)) @@ -744,4 +744,4 @@ .catch(error => reject(error)) }); -})('object' === typeof module ? module.exports : window.btcOperator = {}); \ No newline at end of file +})('object' === typeof module ? module.exports : window.btcOperator = {});