mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-08-27 04:11:08 +00:00
chore: some cleanup
This commit is contained in:
@@ -96,7 +96,11 @@ fn main() {
|
||||
caller_program_id,
|
||||
instruction_words,
|
||||
vec![holder, escrow, outbox.clone()],
|
||||
vec![holder_post, escrow_post, AccountPostState::new(outbox.account)],
|
||||
vec![
|
||||
holder_post,
|
||||
escrow_post,
|
||||
AccountPostState::new(outbox.account),
|
||||
],
|
||||
)
|
||||
.with_chained_calls(vec![call])
|
||||
.write();
|
||||
|
||||
@@ -34,7 +34,8 @@ fn main() {
|
||||
|
||||
let mut post_account = record.account.clone();
|
||||
post_account.data = payload.try_into().expect("payload fits in account data");
|
||||
let post = AccountPostState::new_claimed_if_default(post_account, Claim::Pda(ping_record_seed()));
|
||||
let post =
|
||||
AccountPostState::new_claimed_if_default(post_account, Claim::Pda(ping_record_seed()));
|
||||
|
||||
ProgramOutput::new(
|
||||
self_program_id,
|
||||
|
||||
@@ -53,8 +53,10 @@ fn main() {
|
||||
.to_vec()
|
||||
.try_into()
|
||||
.expect("balance fits in account data");
|
||||
let holding_post =
|
||||
AccountPostState::new_claimed_if_default(holding_account, Claim::Pda(holding_seed(&recipient)));
|
||||
let holding_post = AccountPostState::new_claimed_if_default(
|
||||
holding_account,
|
||||
Claim::Pda(holding_seed(&recipient)),
|
||||
);
|
||||
let config_post = AccountPostState::new(config.account.clone());
|
||||
|
||||
ProgramOutput::new(
|
||||
|
||||
Reference in New Issue
Block a user