We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ce8082 commit f2ed029Copy full SHA for f2ed029
src/payment/unified.rs
@@ -225,6 +225,7 @@ impl UnifiedPayment {
225
PaymentMethod::LightningBolt12(_) => 0,
226
PaymentMethod::LightningBolt11(_) => 1,
227
PaymentMethod::OnChain(_) => 2,
228
+ PaymentMethod::Cashu(_) => 3,
229
});
230
231
for method in sorted_payment_methods {
@@ -278,6 +279,7 @@ impl UnifiedPayment {
278
279
let txid = self.onchain_payment.send_to_address(&address, amt_sats, None)?;
280
return Ok(UnifiedPaymentResult::Onchain { txid });
281
},
282
+ PaymentMethod::Cashu(_) => todo!(),
283
}
284
285
0 commit comments