@haven-fi/solauto-sdk 1.0.107 → 1.0.108
Sign up to get free protection for your applications and to get access to all the features.
@@ -167,9 +167,9 @@ async function sendSingleOptimizedTransaction(umi, connection, tx, simulateOnly,
|
|
167
167
|
const result = await assembleFinalTransaction(umi.identity, tx, feeEstimate, 800000).sendAndConfirm(umi, {
|
168
168
|
send: {
|
169
169
|
skipPreflight: true,
|
170
|
-
commitment: "
|
170
|
+
commitment: "confirmed",
|
171
171
|
},
|
172
|
-
confirm: { commitment: "
|
172
|
+
confirm: { commitment: "confirmed" },
|
173
173
|
});
|
174
174
|
console.log(`https://solscan.io/tx/${bs58_1.default.encode(result.signature)}`);
|
175
175
|
if (result.result.value.err !== null) {
|
package/package.json
CHANGED
package/src/utils/solanaUtils.ts
CHANGED
@@ -321,9 +321,9 @@ export async function sendSingleOptimizedTransaction(
|
|
321
321
|
).sendAndConfirm(umi, {
|
322
322
|
send: {
|
323
323
|
skipPreflight: true,
|
324
|
-
commitment: "
|
324
|
+
commitment: "confirmed",
|
325
325
|
},
|
326
|
-
confirm: { commitment: "
|
326
|
+
confirm: { commitment: "confirmed" },
|
327
327
|
});
|
328
328
|
console.log(`https://solscan.io/tx/${bs58.encode(result.signature)}`);
|
329
329
|
if (result.result.value.err !== null) {
|