Skip to content

Commit

Permalink
Merge pull request #178 from iov-one/tslint
Browse files Browse the repository at this point in the history
Remove obsolete tslint disable
  • Loading branch information
ethanfrey committed Jul 19, 2018
2 parents c9da95d + 5c2e164 commit 17a4473
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/ledger-bns/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export const appVersion = async (transport: Transport): Promise<number> => {
return decodeUint32(res.slice(4, 8));
};

// tslint:disable:no-bitwise
const decodeUint32 = (data: Uint8Array): number => Uint32.fromBigEndianBytes(data).asNumber();

const encodeUint32 = (num: number): Uint8Array => new Uint8Array(new Uint32(num).toBytesBigEndian());

0 comments on commit 17a4473

Please sign in to comment.