Skip to content

Commit

Permalink
Remove defunct "only BE" comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr committed Aug 22, 2023
1 parent a062e85 commit 0654290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/util/src/u8a/toNumber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { ToBnOptions } from '../types.js';

/**
* @name u8aToNumber
* @summary Creates a number from a Uint8Array object. This only operates on LE values as used in SCALE.
* @summary Creates a number from a Uint8Array object.
*/
export function u8aToNumber (value: Uint8Array, { isLe = true, isNegative = false }: ToBnOptions = {}): number {
// slice + reverse is expensive, however SCALE is LE by default so this is the path
Expand Down

0 comments on commit 0654290

Please sign in to comment.