Skip to content

Commit

Permalink
feat: tighten visibility of inner fields not required by external users
Browse files Browse the repository at this point in the history
  • Loading branch information
thunderbiscuit committed Jun 27, 2024
1 parent cddd5f2 commit ffe0c8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bdk-ffi/src/bitcoin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ impl From<&BdkTxOut> for TxOut {
}

#[derive(Clone, Debug)]
pub struct FeeRate(pub BdkFeeRate);
pub struct FeeRate(pub(crate) BdkFeeRate);

impl FeeRate {
pub fn from_sat_per_vb(sat_per_vb: u64) -> Result<Self, FeeRateError> {
Expand Down
2 changes: 1 addition & 1 deletion bdk-ffi/src/keys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use std::ops::Deref;
use std::str::FromStr;
use std::sync::{Arc, Mutex};

pub(crate) struct Mnemonic(pub(crate) BdkMnemonic);
pub(crate) struct Mnemonic(BdkMnemonic);

impl Mnemonic {
pub(crate) fn new(word_count: WordCount) -> Self {
Expand Down

0 comments on commit ffe0c8c

Please sign in to comment.