@haven-fi/solauto-sdk 1.0.404 → 1.0.405
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.
@@ -227,7 +227,7 @@ async function sendSingleOptimizedTransaction(umi, connection, tx, txType, prior
|
|
227
227
|
if (!cuPrice) {
|
228
228
|
cuPrice = 1000000;
|
229
229
|
}
|
230
|
-
cuPrice = Math.min(cuPrice,
|
230
|
+
cuPrice = Math.min(cuPrice, 100 * 1000000);
|
231
231
|
(0, generalUtils_1.consoleLog)("Compute unit price: ", cuPrice);
|
232
232
|
}
|
233
233
|
if (txType !== "only-simulate") {
|
package/package.json
CHANGED
package/src/utils/solanaUtils.ts
CHANGED
@@ -413,7 +413,7 @@ export async function sendSingleOptimizedTransaction(
|
|
413
413
|
if (!cuPrice) {
|
414
414
|
cuPrice = 1_000_000;
|
415
415
|
}
|
416
|
-
cuPrice = Math.min(cuPrice,
|
416
|
+
cuPrice = Math.min(cuPrice, 100 * 1_000_000);
|
417
417
|
consoleLog("Compute unit price: ", cuPrice);
|
418
418
|
}
|
419
419
|
|