File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
persistent-merkle-tree/test/perf Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,10 +56,10 @@ export function digest64(data: Uint8Array): Uint8Array {
56
56
57
57
export function digest64Into ( data : Uint8Array , output : Uint8Array ) : void {
58
58
if ( data . length !== 64 ) {
59
- throw new Error ( " InvalidLengthForDigest64, got" + data . length ) ;
59
+ throw new Error ( ` InvalidLengthForDigest64, got ${ data . length } ` ) ;
60
60
}
61
61
if ( output . length !== 32 ) {
62
- throw new Error ( " InvalidLengthForOutput32, got" + output . length ) ;
62
+ throw new Error ( ` InvalidLengthForOutput32, got ${ output . length } ` ) ;
63
63
}
64
64
65
65
inputUint8Array . set ( data ) ;
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ describe("hasher", () => {
51
51
}
52
52
} ,
53
53
runsFactor,
54
- } )
54
+ } ) ;
55
55
56
56
bench ( {
57
57
id : `hashTwoObjects ${ iterations } times - ${ hasher . name } ` ,
You can’t perform that action at this time.
0 commit comments