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 @@ -630,7 +630,7 @@ fn refund_failed_swap(
630
630
Err ( e) => return Err ( e. to_string ( ) ) ,
631
631
} ;
632
632
633
- match node. refund_failed_swap ( swap_address. into ( ) , to_address. into ( ) , fee_rate) {
633
+ match node. resolve_failed_swap ( swap_address. into ( ) , to_address. into ( ) , fee_rate) {
634
634
Ok ( txid) => {
635
635
println ! ( "Successfully broadcasted refund transaction - txid: {txid}" )
636
636
}
Original file line number Diff line number Diff line change @@ -1158,7 +1158,7 @@ impl LightningNode {
1158
1158
}
1159
1159
1160
1160
/// Lists all unresolved failed swaps. Each individual failed swap can be refunded
1161
- /// using [`LightningNode::refund_failed_swap `].
1161
+ /// using [`LightningNode::resolve_failed_swap `].
1162
1162
pub fn get_unresolved_failed_swaps ( & self ) -> Result < Vec < FailedSwapInfo > > {
1163
1163
Ok ( self
1164
1164
. rt
@@ -1190,7 +1190,7 @@ impl LightningNode {
1190
1190
/// using [`LightningNode::query_onchain_fee_rate`]
1191
1191
///
1192
1192
/// Returns the txid of the refund transaction.
1193
- pub fn refund_failed_swap (
1193
+ pub fn resolve_failed_swap (
1194
1194
& self ,
1195
1195
failed_swap_address : String ,
1196
1196
to_address : String ,
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ interface LightningNode {
83
83
sequence<FailedSwapInfo> get_unresolved_failed_swaps();
84
84
85
85
[Throws=LnError]
86
- string refund_failed_swap (string failed_swap_address, string to_address, u32 onchain_fee_rate);
86
+ string resolve_failed_swap (string failed_swap_address, string to_address, u32 onchain_fee_rate);
87
87
88
88
[Throws=LnError]
89
89
void hide_topup(string id);
You can’t perform that action at this time.
0 commit comments