Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
gandlafbtc committed Feb 22, 2025
1 parent d9ff97b commit 42d6abf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/CashuWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,6 @@ class CashuWallet {
amounts
);


const { outputs, signatures } = await this.mint.restore({
outputs: outputData.map((d) => d.blindedMessage)
});
Expand Down Expand Up @@ -772,7 +771,7 @@ class CashuWallet {
if (!privateKey) {
throw new Error('Can not sign locked quote without private key');
}
const blindedMessages = newBlindingData.map((d) => d.blindedMessage)
const blindedMessages = newBlindingData.map((d) => d.blindedMessage);
const mintQuoteSignature = signMintQuote(privateKey, quote.quote, blindedMessages);
mintPayload = {
outputs: blindedMessages,
Expand Down
2 changes: 1 addition & 1 deletion test/integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ describe('mint api', () => {

const privkey = 'd56ce4e446a85bbdaa547b4ec2b073d40ff802831352b8272b7dd7a4de5a7cac';
const pubkey = '02' + bytesToHex(schnorr.getPublicKey(hexToBytes(privkey)));

const quote = await wallet.createLockedMintQuote(63, pubkey);
const proofs = await wallet.mintProofs(63, quote, { privateKey: privkey });

Expand Down

0 comments on commit 42d6abf

Please sign in to comment.