Skip to content

Commit

Permalink
Merge pull request #1882 from get10101/fix/pass-in-network
Browse files Browse the repository at this point in the history
fix: parse bitcoin to Bitcoin network
  • Loading branch information
bonomat authored Jan 23, 2024
2 parents 09a61e1 + 003f083 commit 9f45b87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions mobile/native/src/config/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ pub fn parse_network(network: &str) -> Network {
"signet" => Network::Signet,
"testnet" => Network::Testnet,
"mainnet" => Network::Bitcoin,
"bitcoin" => Network::Bitcoin,
_ => Network::Regtest,
}
}

0 comments on commit 9f45b87

Please sign in to comment.