Skip to content

Commit

Permalink
derive: access XpubDerivable::variant via copy getter
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Aug 21, 2024
1 parent cd98863 commit fb425db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions derive/src/xkey.rs
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,7 @@ impl FromStr for XprivAccount {
#[derive(Getters, Clone, Eq, PartialEq, Hash, Debug)]
pub struct XpubDerivable {
spec: XpubAccount,
#[getter(as_copy)]
variant: Option<NormalIndex>,
pub(crate) keychains: DerivationSeg<Keychain>,
}
Expand Down

0 comments on commit fb425db

Please sign in to comment.