mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-07 16:14:29 +01:00
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:
@@ -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::{
|
||||
|
||||
1
lib/ls-sdk-core/src/frb/mod.rs
Normal file
1
lib/ls-sdk-core/src/frb/mod.rs
Normal file
@@ -0,0 +1 @@
|
||||
mod bridge;
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user