Files
minibits_wallet/src/models
minibits-cashandClaude Opus 4.8 d62ac12dfd Fix mintToCacheDTO call for cashu-ts v4 signature
cashu-ts v4 dropped the leading `unit` parameter from
CashuKeyChain.mintToCacheDTO; the signature is now
(mintUrl, allKeysets, allKeys). Both call sites still passed `unit` first,
shifting mintUrl into the allKeysets slot. At runtime mintToCacheDTO does
allKeysets.map(...) on what is actually the mintUrl string, throwing
"TypeError: undefined is not a function" — which surfaced as a failed topup
mint right after getCachedWalletKeys, before mintProofs logged its counter.

Verified against the installed runtime (cashu-ts 4.2.1, cashu-ts.es.js): the
impl takes 3 args and cashu-ts calls it internally as
mintToCacheDTO(this.mintUrl, keysets, keys). Sibling of the earlier
loadMintFromCache v4 signature fix (c61e73a); unrelated to the op-sqlite
migration (the DB layer raises AppError, never a bare TypeError).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 23:42:53 +02:00
..
2026-05-22 22:03:18 +02:00
2024-09-17 00:52:26 +02:00
2026-05-11 22:33:22 +02:00
2026-01-23 11:07:16 +01:00
2026-05-22 22:03:18 +02:00
2026-05-26 00:08:47 +02:00
2024-09-17 00:52:26 +02:00
2025-11-24 23:02:48 +01:00
2026-05-26 00:08:47 +02:00
2026-05-26 23:18:39 +02:00