@pioneer-platform/mayachain-client 0.0.32 → 0.0.34

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.
Files changed (2) hide show
  1. package/lib/index.js +2 -0
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -270,6 +270,8 @@ var get_quote = function (quote) {
270
270
  })];
271
271
  case 5:
272
272
  gasLimit = _a.sent();
273
+ gasLimit = gasLimit + gasLimit * 0.2;
274
+ gasLimit = parseInt(gasLimit);
273
275
  log.info(tag, 'gasLimit: ', gasLimit);
274
276
  return [4 /*yield*/, web3.eth.getBlock("latest")];
275
277
  case 6:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneer-platform/mayachain-client",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "dependencies": {