Skip to content

Commit 721a41c

Browse files
dynstwebmaster128
authored andcommitted
inferred type
1 parent 90e9e37 commit 721a41c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/crypto/src/slip10.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export class Slip10 {
181181
}
182182

183183
// step 5
184-
const n: bigint = this.n(curve);
184+
const n = this.n(curve);
185185
const returnChildKeyAsNumber = (bytesToUnsignedBigInt(il) + bytesToUnsignedBigInt(parentPrivkey)) % n;
186186
const returnChildKey = intTo32be(returnChildKeyAsNumber);
187187

@@ -205,7 +205,7 @@ export class Slip10 {
205205
}
206206

207207
private static isGteN(curve: Slip10Curve, privkey: Uint8Array): boolean {
208-
const keyAsNumber: bigint = bytesToUnsignedBigInt(privkey);
208+
const keyAsNumber = bytesToUnsignedBigInt(privkey);
209209
return keyAsNumber >= this.n(curve);
210210
}
211211

0 commit comments

Comments
 (0)