Skip to content

Commit db2d0b0

Browse files
committed
Call commit_diff_and_undelegate_accounts from test program
1 parent e24847a commit db2d0b0

File tree

1 file changed

+5
-2
lines changed
  • test-integration/programs/schedulecommit/src

1 file changed

+5
-2
lines changed

test-integration/programs/schedulecommit/src/lib.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ use ephemeral_rollups_sdk::{
44
cpi::{
55
delegate_account, undelegate_account, DelegateAccounts, DelegateConfig,
66
},
7-
ephem::{commit_accounts, commit_and_undelegate_accounts},
7+
ephem::{
8+
commit_accounts, commit_and_undelegate_accounts,
9+
commit_diff_and_undelegate_accounts,
10+
},
811
};
912
use solana_program::{
1013
account_info::{next_account_info, AccountInfo},
@@ -314,7 +317,7 @@ pub fn process_schedulecommit_cpi(
314317
);
315318

316319
if args.undelegate {
317-
commit_and_undelegate_accounts(
320+
commit_diff_and_undelegate_accounts(
318321
payer,
319322
committees,
320323
magic_context,

0 commit comments

Comments
 (0)