@pioneer-platform/blockbook 8.1.44 → 8.1.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +4 -4
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -57,7 +57,7 @@ axiosRetry(axios, {
|
|
|
57
57
|
return retryCount * 2000; // time interval between retries
|
|
58
58
|
},
|
|
59
59
|
retryCondition: function (error) {
|
|
60
|
-
console.error(error)
|
|
60
|
+
//console.error(error)
|
|
61
61
|
// if retry condition is not specified, by default idempotent requests are retried
|
|
62
62
|
return error.response.status === 503;
|
|
63
63
|
},
|
|
@@ -314,8 +314,8 @@ var broadcast_transaction = function (coin, hex) {
|
|
|
314
314
|
case 5: return [2 /*return*/, output];
|
|
315
315
|
case 6:
|
|
316
316
|
e_6 = _a.sent();
|
|
317
|
-
console.error(tag,
|
|
318
|
-
|
|
317
|
+
//console.error(tag,e)
|
|
318
|
+
throw e_6;
|
|
319
319
|
case 7: return [2 /*return*/];
|
|
320
320
|
}
|
|
321
321
|
});
|
|
@@ -450,7 +450,7 @@ var init_network = function (servers, runtime) {
|
|
|
450
450
|
return true;
|
|
451
451
|
}
|
|
452
452
|
catch (e) {
|
|
453
|
-
console.error(tag, 'Error: ', e)
|
|
453
|
+
// console.error(tag, 'Error: ', e)
|
|
454
454
|
throw e;
|
|
455
455
|
}
|
|
456
456
|
};
|