Skip to content

Commit

Permalink
typo: Address::is_valid_for_network
Browse files Browse the repository at this point in the history
I believe this is a typo.
  • Loading branch information
storopoli authored Jan 10, 2025
1 parent 67db64c commit 1e0c065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bitcoin/src/address/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ impl Address<NetworkUnchecked> {
}

/// Parsed addresses do not always have *one* network. The problem is that legacy testnet,
/// regtest and signet addresse use the same prefix instead of multiple different ones. When
/// regtest and signet addresses use the same prefix instead of multiple different ones. When
/// parsing, such addresses are always assumed to be testnet addresses (the same is true for
/// bech32 signet addresses). So if one wants to check if an address belongs to a certain
/// network a simple comparison is not enough anymore. Instead this function can be used.
Expand Down

0 comments on commit 1e0c065

Please sign in to comment.