@cityofzion/bs-ethereum 2.2.3 → 2.2.4

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.
@@ -160,9 +160,11 @@ class BSEthereum {
160
160
  let transactionParams;
161
161
  const isNative = BSEthereumHelper_1.BSEthereumHelper.normalizeHash(this.feeToken.hash) === BSEthereumHelper_1.BSEthereumHelper.normalizeHash(param.intent.tokenHash);
162
162
  if (isNative) {
163
+ const gasPrice = yield provider.getGasPrice();
163
164
  transactionParams = {
164
165
  to: param.intent.receiverAddress,
165
166
  value: amount,
167
+ gasPrice,
166
168
  };
167
169
  }
168
170
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cityofzion/bs-ethereum",
3
- "version": "2.2.3",
3
+ "version": "2.2.4",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "repository": "https://github.com/CityOfZion/blockchain-services",