[Mint] Fix: check keyset id in mint and allow custom split amounts for LIGHTNING=False (#253)

* check keyset existence and return error

* fix split specific amounts for LIGHTNING=False

* wallet loading

* remove wallet balance checks
This commit is contained in:
callebtc
2023-06-18 14:00:34 +02:00
committed by GitHub
parent 67caf5f532
commit 12bc0c23cb
4 changed files with 6 additions and 5 deletions

View File

@@ -41,8 +41,7 @@ async def test_invoice_with_split(wallet: Wallet):
assert response.json()["invoice"]
else:
assert response.json()["amount"]
# wallet = asyncio.run(init_wallet())
# asyncio.run(wallet.load_proofs())
# await wallet.load_proofs(reload=True)
# assert wallet.proof_amounts.count(1) >= 10