Skip to content

Commit fbeb4d7

Browse files
committed
fix: decode network from string hoodi
1 parent 240eb6a commit fbeb4d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

aggregation_mode/sdk/src/types.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ impl FromStr for Network {
1616
fn from_str(s: &str) -> Result<Self, Self::Err> {
1717
match s.to_lowercase().as_str() {
1818
"devnet" => Ok(Self::Devnet),
19+
"hoodi" => Ok(Self::Hoodi),
1920
_ => Err(NetworkError::InvalidNetwork),
2021
}
2122
}

0 commit comments

Comments
 (0)