Skip to content

Commit

Permalink
Update comment on thread response
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgarfield committed Feb 25, 2023
1 parent 434df48 commit 06258e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/src/thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,10 @@ pub enum Trigger {
#[derive(AnchorDeserialize, AnchorSerialize, Clone, Debug)]
pub struct ThreadResponse {
/// If set, the thread will automatically close and return lamports to the provided address.
/// If dynamic_instruction is also set, it will take precidence and the thread will not be closed.
/// If dynamic_instruction is also set, close_to will take precedence and the dynamic instruction will not be executed.
pub close_to: Option<Pubkey>,
/// A dynamic instruction to execute next.
/// If close_to is also set, it will take precedence and the dynamic instruction will not be executed.
pub dynamic_instruction: Option<SerializableInstruction>,
/// Value to update the thread trigger to.
pub trigger: Option<Trigger>,
Expand Down

0 comments on commit 06258e7

Please sign in to comment.