From 1e0c065740266a8ad207a95f4d964394ba3f07d7 Mon Sep 17 00:00:00 2001 From: Jose Storopoli Date: Fri, 10 Jan 2025 11:11:43 -0300 Subject: [PATCH] typo: Address::is_valid_for_network I believe this is a typo. --- bitcoin/src/address/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitcoin/src/address/mod.rs b/bitcoin/src/address/mod.rs index 51a02c56f..45b547c74 100644 --- a/bitcoin/src/address/mod.rs +++ b/bitcoin/src/address/mod.rs @@ -768,7 +768,7 @@ impl Address { } /// 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.