@magmaprotocol/magma-clmm-sdk 0.5.26 → 0.5.27
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2968,7 +2968,7 @@ var _TransactionUtil = class {
|
|
|
2968
2968
|
const tx = new Transaction();
|
|
2969
2969
|
tx.setGasBudget(1e8);
|
|
2970
2970
|
tx.setSender(sdk.senderAddress);
|
|
2971
|
-
const oneDay = 24 * 60 * 60;
|
|
2971
|
+
const oneDay = 24 * 60 * 60 * 1e3;
|
|
2972
2972
|
const newLockDuration = Math.ceil((params.newLockEndAt - Date.now()) / oneDay);
|
|
2973
2973
|
const { integrate } = sdk.sdkOptions;
|
|
2974
2974
|
const { voting_escrow_id, magma_token } = getPackagerConfigs(sdk.sdkOptions.magma_config);
|