mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-23 19:54:18 +01:00
Tests: Test with LIGHTNING=True and refactor mint (#326)
* refactor mint verification * test with lightning=true * rename proofs_used to secrets_used and refactor * test with lightning * spelling fixes
This commit is contained in:
@@ -232,7 +232,7 @@ async def check_fees(payload: CheckFeesRequest) -> CheckFeesResponse:
|
||||
This is can be useful for checking whether an invoice is internal (Cashu-to-Cashu).
|
||||
"""
|
||||
logger.trace(f"> POST /checkfees: {payload}")
|
||||
fees_sat = await ledger.check_fees(payload.pr)
|
||||
fees_sat = await ledger.get_melt_fees(payload.pr)
|
||||
logger.trace(f"< POST /checkfees: {fees_sat}")
|
||||
return CheckFeesResponse(fee=fees_sat)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user