Skip to content

Commit

Permalink
Removed impossible check for native bigint
Browse files Browse the repository at this point in the history
  • Loading branch information
vsubhuman committed Jul 24, 2021
1 parent bd82447 commit 0ad3ad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api.js
Expand Up @@ -39,7 +39,7 @@ const addressesRequestLimit = 50;
const apiResponseLimit = 50;

const isNumberOrBigint = (x: *): boolean =>
typeof x === 'number' || typeof x === 'bigint' || BigNumber.isBigNumber(x);
(typeof x === 'number') || BigNumber.isBigNumber(x);

const askBlockNum = async (blockHash: ?string, txHash?: string): Promise<UtilEither<number>> => {
if (blockHash == undefined) return {kind:'ok', value: -1};
Expand Down

0 comments on commit 0ad3ad0

Please sign in to comment.