Skip to content

Commit

Permalink
Removing duplicate send from FastSingleTxSender (#952)
Browse files Browse the repository at this point in the history
FastSingleTx sender was sending the transaction twice for some unclear
reason. I've removed the duplicated behavior.
  • Loading branch information
ricardojmendez committed Mar 12, 2024
1 parent 19655da commit e0fc24f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions sdk/src/tx/fastSingleTxSender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,6 @@ export class FastSingleTxSender extends BaseTxSender {
throw e;
}

this.connection.sendRawTransaction(rawTransaction, opts).catch((e) => {
console.error(e);
});
this.sendToAdditionalConnections(rawTransaction, opts);

let slot: number;
if (!this.skipConfirmation) {
try {
Expand Down

0 comments on commit e0fc24f

Please sign in to comment.