File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ use bdk_chain::local_chain::CannotConnectError as BdkChainConnectionError;
1010use bdk_chain:: tx_graph:: CalculateFeeError as BdkChainCalculateFeeError ;
1111use bdk_wallet:: error:: CreateTxError as BdkCreateTxError ;
1212use bdk_wallet:: signer:: SignerError as BdkSignerError ;
13- use bitcoin:: Network ;
1413
1514use std:: fmt;
1615
Original file line number Diff line number Diff 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 /// ```
You can’t perform that action at this time.
0 commit comments