@@ -52,15 +52,15 @@ export class Zerokit {
5252 sha256 ( this . rlnIdentifier )
5353 ) ;
5454 const pathElementsBytes = new Uint8Array ( 8 + pathElements . length * 32 ) ;
55- BytesUtils . writeUIntLE ( pathElementsBytes , pathElements . length , 0 , 8 ) ;
55+ BytesUtils . writeUintLE ( pathElementsBytes , pathElements . length , 0 , 8 ) ;
5656 for ( let i = 0 ; i < pathElements . length ; i ++ ) {
5757 // We assume that the path elements are already in little-endian format
5858 pathElementsBytes . set ( pathElements [ i ] , 8 + i * 32 ) ;
5959 }
6060 const identityPathIndexBytes = new Uint8Array (
6161 8 + identityPathIndex . length * 1
6262 ) ;
63- BytesUtils . writeUIntLE (
63+ BytesUtils . writeUintLE (
6464 identityPathIndexBytes ,
6565 identityPathIndex . length ,
6666 0 ,
@@ -73,8 +73,8 @@ export class Zerokit {
7373 const x = sha256 ( msg ) ;
7474 return BytesUtils . concatenate (
7575 idSecretHash ,
76- BytesUtils . writeUIntLE ( new Uint8Array ( 32 ) , rateLimit , 0 , 32 ) ,
77- BytesUtils . writeUIntLE ( new Uint8Array ( 32 ) , messageId , 0 , 32 ) ,
76+ BytesUtils . writeUintLE ( new Uint8Array ( 32 ) , rateLimit , 0 , 32 ) ,
77+ BytesUtils . writeUintLE ( new Uint8Array ( 32 ) , messageId , 0 , 32 ) ,
7878 pathElementsBytes ,
7979 identityPathIndexBytes ,
8080 x ,
0 commit comments