@clonegod/ttd-sol-common 1.1.10 → 1.1.11
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.
|
@@ -490,7 +490,10 @@ class RpcClient {
|
|
|
490
490
|
const { transaction, blockhash, minContextSlot } = yield this.createSmartTransaction(solana_trade_runtime, instructions, signers, lookupTables, sendOptions.feePayer);
|
|
491
491
|
(0, dist_1.log_info)(`>>> createSmartTransaction, end`);
|
|
492
492
|
let txid = (0, get_signature_1.getSignature)(transaction);
|
|
493
|
-
yield this.connection.sendRawTransaction(transaction.serialize({ verifySignatures: false }),
|
|
493
|
+
yield this.connection.sendRawTransaction(transaction.serialize({ verifySignatures: false }), {
|
|
494
|
+
maxRetries: 3,
|
|
495
|
+
skipPreflight: true
|
|
496
|
+
});
|
|
494
497
|
return txid;
|
|
495
498
|
}
|
|
496
499
|
catch (error) {
|