This repository was archived by the owner on Feb 3, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1215,10 +1215,10 @@ impl<S: MutinyStorage> MutinyWallet<S> {
1215
1215
. await ?;
1216
1216
1217
1217
let bolt_11 = inv. bolt11 . expect ( "create inv had one job" ) ;
1218
+ self . storage . set_invoice_labels ( bolt_11, labels) ?;
1218
1219
let pay_res = fedimint_client
1219
1220
. pay_invoice ( bolt_11. clone ( ) , labels. clone ( ) )
1220
1221
. await ?;
1221
- self . storage . set_invoice_labels ( bolt_11, labels) ?;
1222
1222
let total_fees_paid = pay_res. fees_paid . unwrap_or ( 0 ) + fee;
1223
1223
1224
1224
return Ok ( FedimintSweepResult {
@@ -1267,10 +1267,10 @@ impl<S: MutinyStorage> MutinyWallet<S> {
1267
1267
1268
1268
log_debug ! ( self . logger, "attempting payment from fedimint client" ) ;
1269
1269
let bolt_11 = inv_to_pay. bolt11 . expect ( "create inv had one job" ) ;
1270
+ self . storage . set_invoice_labels ( bolt_11, labels) ?;
1270
1271
let first_invoice_res = fedimint_client
1271
1272
. pay_invoice ( bolt_11. clone ( ) , labels. clone ( ) )
1272
1273
. await ?;
1273
- self . storage . set_invoice_labels ( bolt_11, labels) ?;
1274
1274
1275
1275
let remaining_balance = fedimint_client. get_balance ( ) . await ?;
1276
1276
if remaining_balance > 0 {
You can’t perform that action at this time.
0 commit comments