typo: Address::is_valid_for_network

I believe this is a typo.
This commit is contained in:
Jose Storopoli 2025-01-10 11:11:43 -03:00 committed by GitHub
parent 67db64cd97
commit 1e0c065740
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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.