Skip to content

Commit

Permalink
Remove perf tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
minibits-cash committed Sep 16, 2024
1 parent 433186d commit 1be675c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/CashuWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -669,9 +669,7 @@ class CashuWallet {
}
const blindedMessages: Array<SerializedBlindedMessage> = [];
const secrets: Array<Uint8Array> = [];
const rs: Array<bigint> = [];

const start = performance.now()
const rs: Array<bigint> = [];

for (let i = 0; i < amounts.length; i++) {
let deterministicR = undefined;
Expand All @@ -694,9 +692,6 @@ class CashuWallet {
const blindedMessage = new BlindedMessage(amounts[i], B_, keysetId);
blindedMessages.push(blindedMessage.getSerializedBlindedMessage());
}

const end = performance.now()
console.log(`[createBlindedMessages] createBlindedMessages took ${end - start} ms.`)

return { blindedMessages, secrets, rs, amounts };
}
Expand Down

0 comments on commit 1be675c

Please sign in to comment.