forked from mito-systems/sol-mem-gen
Update comment
This commit is contained in:
parent
5523939ff0
commit
5fd10ae15f
@ -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> => {
|
||||
|
@ -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({
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user