Skip to content

Commit 4ea5450

Browse files
committed
make changes after rebase
1 parent 8dd69dc commit 4ea5450

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ pub fn delegate_account_cpi_instruction(
136136
DelegateOrderBookArgs {
137137
commit_frequency_ms: 1_000_000_000,
138138
book_manager: player_or_book_manager,
139+
validator,
139140
},
140141
)
141142
},

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ pub struct DelegateCpiArgs {
5151
pub struct DelegateOrderBookArgs {
5252
commit_frequency_ms: u32,
5353
book_manager: Pubkey,
54+
validator: Option<Pubkey>,
5455
}
5556

5657
#[derive(BorshSerialize, BorshDeserialize, Debug, Clone)]
@@ -382,7 +383,7 @@ pub fn process_delegate_order_book(
382383
&seeds_no_bump,
383384
DelegateConfig {
384385
commit_frequency_ms: args.commit_frequency_ms,
385-
..DelegateConfig::default()
386+
validator: args.validator,
386387
},
387388
)?;
388389

0 commit comments

Comments
 (0)