Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/descriptor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,10 +320,10 @@ impl<Pk: MiniscriptKey> Descriptor<Pk> {
impl<Pk: MiniscriptKey + ToPublicKey> Descriptor<Pk> {
/// Computes the Bitcoin address of the descriptor, if one exists
///
/// Some descriptors like pk() don't have any address.
/// Some descriptors like pk() don't have an address.
///
/// # Errors
/// For raw/bare descriptors that don't have any address.
/// For raw/bare descriptors that don't have an address.
pub fn address(&self, network: Network) -> Result<Address, Error> {
match *self {
Descriptor::Bare(_) => Err(Error::BareDescriptorAddr),
Expand Down