Skip to content

Commit f2ed029

Browse files
committed
f - Cashu fixes
1 parent 1ce8082 commit f2ed029

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/payment/unified.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ impl UnifiedPayment {
225225
PaymentMethod::LightningBolt12(_) => 0,
226226
PaymentMethod::LightningBolt11(_) => 1,
227227
PaymentMethod::OnChain(_) => 2,
228+
PaymentMethod::Cashu(_) => 3,
228229
});
229230

230231
for method in sorted_payment_methods {
@@ -278,6 +279,7 @@ impl UnifiedPayment {
278279
let txid = self.onchain_payment.send_to_address(&address, amt_sats, None)?;
279280
return Ok(UnifiedPaymentResult::Onchain { txid });
280281
},
282+
PaymentMethod::Cashu(_) => todo!(),
281283
}
282284
}
283285

0 commit comments

Comments
 (0)