mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-21 23:14:22 +01:00
Add zero-amount Receive Chain Swap (#538)
Add support for Zero-Amount Receive Chain Swaps
This commit is contained in:
@@ -8,7 +8,7 @@ use boltz_client::{
|
||||
SubmarinePair, SwapTree,
|
||||
},
|
||||
util::secrets::Preimage,
|
||||
PublicKey,
|
||||
Amount, PublicKey,
|
||||
};
|
||||
use sdk_common::invoice::parse_invoice;
|
||||
|
||||
@@ -313,4 +313,16 @@ impl Swapper for MockSwapper {
|
||||
fn get_bolt12_invoice(&self, _offer: &str, _amount_sat: u64) -> Result<String, PaymentError> {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
fn get_zero_amount_chain_swap_quote(&self, swap_id: &str) -> Result<Amount, PaymentError> {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
fn accept_zero_amount_chain_swap_quote(
|
||||
&self,
|
||||
_swap_id: &str,
|
||||
_server_lockup_sat: u64,
|
||||
) -> Result<(), PaymentError> {
|
||||
unimplemented!()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user