burn if no payout

This commit is contained in:
Hardhat Chad
2025-05-26 15:38:49 -07:00
parent e072b70e37
commit f022ada917
2 changed files with 22 additions and 1 deletions

View File

@@ -114,6 +114,7 @@ pub fn payout(signer: Pubkey, wager: Pubkey, recipient: Pubkey) -> Instruction {
accounts: vec![
AccountMeta::new(signer, true),
AccountMeta::new(block, false),
AccountMeta::new(MINT_ADDRESS, false),
AccountMeta::new(wager, false),
AccountMeta::new(recipient, false),
AccountMeta::new(TREASURY_ADDRESS, false),