@huma-finance/widgets 0.0.62-beta.730 → 0.0.62-beta.733
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
CHANGED
|
@@ -8826,11 +8826,13 @@ function SolanaTxSendModal(_ref) {
|
|
|
8826
8826
|
return;
|
|
8827
8827
|
}
|
|
8828
8828
|
try {
|
|
8829
|
+
// Optimize transaction
|
|
8829
8830
|
const lockedWritableAccounts = extractWritableAccounts(tx);
|
|
8830
8831
|
const optimizedTx = await buildOptimalTransactionFromConnection(tx, lockedWritableAccounts, connection);
|
|
8831
8832
|
const signature = await sendTransaction(optimizedTx, connection, {
|
|
8832
8833
|
maxRetries: 5,
|
|
8833
|
-
preflightCommitment: 'confirmed'
|
|
8834
|
+
preflightCommitment: 'confirmed',
|
|
8835
|
+
skipPreflight: true
|
|
8834
8836
|
});
|
|
8835
8837
|
setSignature(signature);
|
|
8836
8838
|
dispatch(setSolanaSignature(signature));
|