Update comment

This commit is contained in:
Adw8 committed 2025-01-28 19:21:17 +05:30
1 parent 5523939ff0
commit 5fd10ae15f
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -56,9 +56,9 @@ const Page: React.FC = (): React.ReactElement => {
connected: false,
publicKey: null,
type: null
});
})
}
};
}
const handleFluxGeneration = (modelId: string, cost: BN) => {
return async (prompt: string): Promise<FluxGenerationResult> => {
+1 -1
View File
@@ -161,7 +161,7 @@ export async function processMTMPayment(
transaction.feePayer = senderPublicKey
console.log('Sending transaction...')
const { signature } = await wallet.signAndSendTransaction(transaction);
const { signature } = await wallet.signAndSendTransaction(transaction)
console.log('Transaction sent:', signature)
const confirmation = await connection.confirmTransaction({
+1 -1
View File
@@ -88,7 +88,7 @@ export async function verifyPayment(
return true;
}
console.log('Transaction amount is not within the expected range.');
// TODO: Handle spillage being greater than 10%
// TODO: Handle slippage being greater than 10%
return false;
} catch (error) {
console.error('Verification error:', error);