-
Notifications
You must be signed in to change notification settings - Fork 230
Open
Description
project-7-swap/programs/swap/src/instructions/take_offer.rs
let accounts = CloseAccount {
account: context.accounts.vault.to_account_info(),
destination: context.accounts.taker.to_account_info(),
authority: context.accounts.offer.to_account_info(),
};
CloseAccount 中的 destination 应该是 context.accounts.maker.to_account_info() ? vault 是 maker 支付创建的
Metadata
Metadata
Assignees
Labels
No labels