@curvefi/api 2.57.0 → 2.57.1
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/utils.js +1 -1
- package/package.json +1 -1
package/lib/utils.js
CHANGED
|
@@ -766,7 +766,7 @@ export var getGasInfoForL2 = function () { return __awaiter(void 0, void 0, void
|
|
|
766
766
|
case 1:
|
|
767
767
|
baseFee = _a.sent();
|
|
768
768
|
return [2 /*return*/, {
|
|
769
|
-
maxFeePerGas: (baseFee * 1.1) + 0.01,
|
|
769
|
+
maxFeePerGas: Number(((baseFee * 1.1) + 0.01).toFixed(2)),
|
|
770
770
|
maxPriorityFeePerGas: 0.01,
|
|
771
771
|
}];
|
|
772
772
|
case 2: throw Error("This method exists only for L2 networks");
|