@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.
- package/dist/BSEthereum.js +2 -0
- package/package.json +1 -1
package/dist/BSEthereum.js
CHANGED
|
@@ -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 {
|