Skip to content

Commit 4042a59

Browse files
committed
chore(test): Clean up unused variables
1 parent bd2f200 commit 4042a59

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/integration/silentpayment.spec.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -271,13 +271,11 @@ function runSenderCase(tc: Sender) {
271271

272272
// Early exit (no usable inputs)
273273
if (inputPrivKeyTuples.length === 0) {
274-
const sending_outputs: string[] = [];
275274
assert(
276275
expected.outputs &&
277276
expected.outputs[0] &&
278277
expected.outputs[0].length === 0 &&
279-
sending_outputs.length === 0,
280-
'Sending test failed (no inputs case)',
278+
'Sending test failed (no inputs case)',
281279
);
282280
return;
283281
}
@@ -365,7 +363,6 @@ function runReceiverCase(tc: Recipient) {
365363
// -------- key material --------
366364
const b_scan = fromHex(given.key_material.scan_priv_key);
367365
const b_spend = fromHex(given.key_material.spend_priv_key);
368-
const B_spend = ecc.pointFromScalar(b_spend, true) as Uint8Array;
369366

370367
// -------- outpoint_L --------
371368
const vinArray = given.vin.map(
@@ -502,7 +499,7 @@ describe('BIP-352 Silent Payments — sender vectors', () => {
502499
});
503500

504501
describe('BIP-352 Silent Payments — receiver vectors', () => {
505-
const groups : TestCase[]= fixtures;
502+
const groups: TestCase[] = fixtures;
506503
let count = 0;
507504
for (const g of groups) {
508505
if (!g?.receiving) continue;

0 commit comments

Comments
 (0)