Skip to content

Commit

Permalink
remove weird error
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc committed Jun 15, 2024
1 parent 45d6c82 commit 8e765ae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cashu/mint/ledger.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import asyncio
import time
from typing import Dict, List, Mapping, Optional, Tuple
from uu import Error

import bolt11
from loguru import logger
Expand Down Expand Up @@ -568,7 +567,7 @@ def validate_payment_quote(
melt_quote.unit, Method.bolt11.name
)
if not payment_quote.checking_id:
raise Error("quote has no checking id")
raise Exception("quote has no checking id")
# verify that payment quote amount is as expected
if melt_quote.is_mpp and melt_quote.mpp_amount != payment_quote.amount.amount:
raise TransactionError("quote amount not as requested")
Expand Down

0 comments on commit 8e765ae

Please sign in to comment.