We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39e284b commit a3bd0a9Copy full SHA for a3bd0a9
1 file changed
backend/src/services/solana.service.ts
@@ -122,7 +122,7 @@ export const executePayment = async (params: {
122
})
123
.rpc();
124
125
- await connection.confirmTransaction(tx, "confirmed");
+ await connection.confirmTransaction(tx, "finalized");
126
127
return tx;
128
};
@@ -133,7 +133,7 @@ const fetchConfirmedTransaction = async (
133
): Promise<ParsedTransactionWithMeta | null> => {
134
const tx = await connection.getParsedTransaction(signature, {
135
maxSupportedTransactionVersion: 0,
136
- commitment: "confirmed",
+ commitment: "finalized",
137
});
138
139
if (!tx || tx.meta?.err) return null;
0 commit comments