Update comment

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

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> => {

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({

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);