Skip to content

Commit 99cd15a

Browse files
committed
Update error reference
1 parent 2e48f02 commit 99cd15a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/error.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ use bdk_chain::local_chain::CannotConnectError as BdkChainConnectionError;
1010
use bdk_chain::tx_graph::CalculateFeeError as BdkChainCalculateFeeError;
1111
use bdk_wallet::error::CreateTxError as BdkCreateTxError;
1212
use bdk_wallet::signer::SignerError as BdkSignerError;
13-
use bitcoin::Network;
1413

1514
use std::fmt;
1615

src/payment/onchain.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,7 @@ impl OnchainPayment {
132132
/// Validates a Bitcoin address is properly formatted and matches the expected network.
133133
///
134134
/// Returns `Ok(Address)` if valid, or:
135-
/// - `InvalidAddressFormat` if malformed
136-
/// - `InvalidNetworkAddress` if valid but wrong network
135+
/// - `InvalidAddress` if malformed or for a different network
137136
///
138137
/// # Example
139138
/// ```

0 commit comments

Comments
 (0)