mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
fix: pass privkey to cashuWallet.receive
This commit is contained in:
parent
361ef9a600
commit
efceee505a
1 changed files with 1 additions and 1 deletions
|
|
@ -589,7 +589,7 @@ export const swapNutzapsToWalletController: AppController = async (c) => {
|
|||
const token = getEncodedToken({ mint, proofs: mintsToProofs[mint].proofs });
|
||||
|
||||
const cashuWallet = new CashuWallet(new CashuMint(mint));
|
||||
const receiveProofs = await cashuWallet.receive(token);
|
||||
const receiveProofs = await cashuWallet.receive(token, { privkey });
|
||||
|
||||
const unspentProofs = await createEvent({
|
||||
kind: 7375,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue