File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -603,7 +603,7 @@ fn refund_failed_swap(
603
603
Err ( e) => return Err ( e. to_string ( ) ) ,
604
604
} ;
605
605
606
- match node. refund_failed_swap ( swap_address. into ( ) , to_address. into ( ) , fee_rate) {
606
+ match node. resolve_failed_swap ( swap_address. into ( ) , to_address. into ( ) , fee_rate) {
607
607
Ok ( txid) => {
608
608
println ! ( "Successfully broadcasted refund transaction - txid: {txid}" )
609
609
}
Original file line number Diff line number Diff line change @@ -1112,7 +1112,7 @@ impl LightningNode {
1112
1112
}
1113
1113
1114
1114
/// Lists all unresolved failed swaps. Each individual failed swap can be refunded
1115
- /// using [`LightningNode::refund_failed_swap `].
1115
+ /// using [`LightningNode::resolve_failed_swap `].
1116
1116
pub fn get_unresolved_failed_swaps ( & self ) -> Result < Vec < FailedSwapInfo > > {
1117
1117
Ok ( self
1118
1118
. rt
@@ -1144,7 +1144,7 @@ impl LightningNode {
1144
1144
/// using [`LightningNode::query_onchain_fee_rate`]
1145
1145
///
1146
1146
/// Returns the txid of the refund transaction.
1147
- pub fn refund_failed_swap (
1147
+ pub fn resolve_failed_swap (
1148
1148
& self ,
1149
1149
failed_swap_address : String ,
1150
1150
to_address : String ,
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ interface LightningNode {
80
80
sequence<FailedSwapInfo> get_unresolved_failed_swaps();
81
81
82
82
[Throws=LnError]
83
- string refund_failed_swap (string failed_swap_address, string to_address, u32 onchain_fee_rate);
83
+ string resolve_failed_swap (string failed_swap_address, string to_address, u32 onchain_fee_rate);
84
84
85
85
[Throws=LnError]
86
86
void hide_topup(string id);
You can’t perform that action at this time.
0 commit comments