We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f805b6d + a3bd0a9 commit f0505fbCopy full SHA for f0505fb
1 file changed
backend/src/services/solana.service.ts
@@ -130,7 +130,7 @@ export const executePayment = async (params: {
130
})
131
.rpc();
132
133
- await connection.confirmTransaction(tx, "confirmed");
+ await connection.confirmTransaction(tx, "finalized");
134
135
return tx;
136
};
@@ -141,7 +141,7 @@ const fetchConfirmedTransaction = async (
141
): Promise<ParsedTransactionWithMeta | null> => {
142
const tx = await connection.getParsedTransaction(signature, {
143
maxSupportedTransactionVersion: 0,
144
- commitment: "confirmed",
+ commitment: "finalized",
145
});
146
147
if (!tx || tx.meta?.err) return null;
0 commit comments