Skip to content

Commit

Permalink
fixed merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Egge21M committed Dec 20, 2024
1 parent ed84e73 commit 4f28ec2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/CashuWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,8 @@ class CashuWallet {
* @returns New token with newly created proofs, token entries that had errors
*/
async receive(token: string | Token, options?: ReceiveOptions): Promise<Array<Proof>> {
const { requireDleq, keysetId, outputAmounts, counter, pubkey, privkey } = options || {};
const { requireDleq, keysetId, outputAmounts, counter, pubkey, privkey, outputData, p2pk } =
options || {};

if (typeof token === 'string') {
token = getDecodedToken(token);
Expand Down

0 comments on commit 4f28ec2

Please sign in to comment.