Skip to content

Commit

Permalink
fix wasm build
Browse files Browse the repository at this point in the history
  • Loading branch information
oblique committed Dec 5, 2024
1 parent ccdea91 commit d0832d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node-wasm/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ impl TryFrom<network::Network> for Network {
network::Network::Mainnet => Ok(Network::Mainnet),
network::Network::Arabica => Ok(Network::Arabica),
network::Network::Mocha => Ok(Network::Mocha),
network::Network::Custom(id) => match id.as_str() {
network::Network::Custom(id) => match id.as_ref() {
"private" => Ok(Network::Private),
_ => Err(Error::new("Unsupported network id")),
},
Expand Down

0 comments on commit d0832d4

Please sign in to comment.