feat: tighten visibility of inner fields not required by external users
This commit is contained in:
parent
cddd5f25d8
commit
ffe0c8c1a4
@ -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> {
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user