diff --git a/mutiny-core/src/nostr/nwc.rs b/mutiny-core/src/nostr/nwc.rs index e7b80c098..02e122bc9 100644 --- a/mutiny-core/src/nostr/nwc.rs +++ b/mutiny-core/src/nostr/nwc.rs @@ -119,7 +119,7 @@ impl BudgetedSpendingConditions { pub fn budget_remaining(&self) -> u64 { let mut clone = self.clone(); - self.budget - clone.sum_payments() + self.budget.saturating_sub(clone.sum_payments()) } }