Skip to content

Commit

Permalink
cli: swb pull variant for oracle setup
Browse files Browse the repository at this point in the history
  • Loading branch information
losman0s committed Aug 22, 2024
1 parent c0a3a29 commit 697019c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clients/rust/marginfi-cli/src/entrypoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ pub enum OracleTypeArg {
PythLegacy,
Switchboard,
PythPushOracle,
SwitchboardPull,
}

impl From<OracleTypeArg> for OracleSetup {
Expand All @@ -183,6 +184,7 @@ impl From<OracleTypeArg> for OracleSetup {
OracleTypeArg::PythLegacy => OracleSetup::PythLegacy,
OracleTypeArg::Switchboard => OracleSetup::SwitchboardV2,
OracleTypeArg::PythPushOracle => OracleSetup::PythPushOracle,
OracleTypeArg::SwitchboardPull => OracleSetup::SwitchboardPull,
}
}
}
Expand Down

0 comments on commit 697019c

Please sign in to comment.