Expose LBtcReverseRecovery through crate explicitly on Rust input file of Dart bindings

Otherwise it won't be resolved on the generated files.
This commit is contained in:
Erdem Yerebasmaz
2024-04-29 16:42:39 +03:00
parent 7e21180fab
commit b0f35786d6
4 changed files with 9 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
use anyhow::{anyhow, Result};
use boltz_client::util::secrets::LBtcReverseRecovery;
pub(crate) use boltz_client::util::secrets::LBtcReverseRecovery;
use std::sync::{Arc, OnceLock};
use crate::{

View File

@@ -0,0 +1 @@
mod bridge;

View File

@@ -1,6 +1,8 @@
#[cfg(feature = "frb")]
pub mod bindings;
pub mod error;
pub mod model;
pub mod persist;
pub mod wallet;
pub(crate) mod error;
#[cfg(feature = "frb")]
pub mod frb;
pub(crate) mod model;
pub(crate) mod persist;
pub(crate) mod wallet;

View File

@@ -17,7 +17,7 @@ use boltz_client::{
},
liquid::{LBtcSwapScript, LBtcSwapTx},
},
util::secrets::{LiquidSwapKey, Preimage, SwapKey},
util::secrets::{LBtcReverseRecovery, LiquidSwapKey, Preimage, SwapKey},
Bolt11Invoice, Keypair,
};
use log::{debug, error, warn};
@@ -37,8 +37,6 @@ use crate::model::{
WalletInfo, WalletOptions,
};
pub(crate) use boltz_client::util::secrets::LBtcReverseRecovery;
/// Claim tx feerate for Receive, in sats per vbyte.
/// Since the Liquid blocks are consistently empty for now, we hardcode the minimum feerate.
pub const LIQUID_CLAIM_TX_FEERATE: f32 = 0.1;