File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
test-integration/programs/schedulecommit/src Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff 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 } ,
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ pub struct DelegateCpiArgs {
5151pub 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
You can’t perform that action at this time.
0 commit comments