diff --git a/lib/vendor/coinpayments.js b/lib/vendor/coinpayments.js index be1f2b7d..d673afa4 100644 --- a/lib/vendor/coinpayments.js +++ b/lib/vendor/coinpayments.js @@ -9,11 +9,10 @@ const options = { let client; const getClient = function () { - if (client) { - return client; + if (!client) { + client = new Coinpayments(options); } - - client = new Coinpayments(options); + return client; };