Skip to content

Commit 725f72c

Browse files
committed
fix
1 parent 4c75d78 commit 725f72c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

test-integration/schedulecommit/client/src/schedule_commit_context.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,14 +170,17 @@ impl ScheduleCommitTestContext {
170170
if self.user_seed == b"magic_schedule_commit" {
171171
ixs.extend(self.committees.iter().map(|(player, committee)| {
172172
init_account_instruction(
173-
self.payer_ephem.pubkey(),
173+
self.payer_chain.pubkey(),
174174
player.pubkey(),
175175
*committee,
176176
)
177177
}));
178178
} else {
179-
ixs.extend(self.committees.iter().map(|(payer, committee)| {
180-
init_order_book_instruction(payer.pubkey(), *committee)
179+
ixs.extend(self.committees.iter().map(|(_, committee)| {
180+
init_order_book_instruction(
181+
self.payer_chain.pubkey(),
182+
*committee,
183+
)
181184
}));
182185

183186
//// TODO (snawaz): currently the size of delegatable-account cannot be

0 commit comments

Comments
 (0)