Skip to content

Commit c42d82c

Browse files
committed
docs: update jsdoc comment
1 parent 7b50aa6 commit c42d82c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/serializable/pvm/warp/signature.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { serializable } from '../../common/types';
55
import { TypeSymbols } from '../../constants';
66
import { BlsSignature } from '../../fxs/common';
77
import { Bytes } from '../../primitives';
8-
import { INT_LEN } from '../../primitives/int';
98

109
@serializable()
1110
export class WarpSignature {
@@ -34,13 +33,13 @@ export class WarpSignature {
3433
}
3534

3635
/**
37-
* Number of [bls.PublicKeys] that participated in the
36+
* Number of public keys that participated in the
3837
* {@linkcode BlsSignature}. This is exposed because users of the signatures
3938
* typically impose a verification fee that is a function of the number of signers.
4039
*
4140
* This is used to calculate the Warp complexity in transactions.
4241
*/
4342
numOfSigners(): number {
44-
return hammingWeight(this.signers.toBytes().slice(INT_LEN));
43+
return hammingWeight(this.signers.bytes);
4544
}
4645
}

0 commit comments

Comments
 (0)