@pioneer-platform/osmosis-network 8.3.10 → 8.3.12
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 +3 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -105,6 +105,8 @@ var BASE_OSMO = 1000000;
|
|
|
105
105
|
//**********************************/
|
|
106
106
|
module.exports = {
|
|
107
107
|
init: function (url, settings) {
|
|
108
|
+
log.info(TAG, "init", url, settings);
|
|
109
|
+
URL_OSMO_RPC = url;
|
|
108
110
|
return true;
|
|
109
111
|
},
|
|
110
112
|
isOnline: function () {
|
|
@@ -712,7 +714,7 @@ var get_transaction = function (txid) {
|
|
|
712
714
|
_a.label = 1;
|
|
713
715
|
case 1:
|
|
714
716
|
_a.trys.push([1, 3, , 4]);
|
|
715
|
-
return [4 /*yield*/, axios({ method: 'GET', url: URL_OSMO_LCD + '/txs/' + txid })];
|
|
717
|
+
return [4 /*yield*/, axios({ method: 'GET', url: URL_OSMO_LCD + '/cosmos/tx/v1beta1/txs/' + txid })];
|
|
716
718
|
case 2:
|
|
717
719
|
txInfo = _a.sent();
|
|
718
720
|
log.debug(tag, "txInfo: ", txInfo.data);
|