diff --git a/src.ts/utils/bytes.ts b/src.ts/utils/bytes.ts index 7a494d727..60b1c75db 100644 --- a/src.ts/utils/bytes.ts +++ b/src.ts/utils/bytes.ts @@ -13,7 +13,7 @@ export const HashZero = '0x00000000000000000000000000000000000000000000000000000 function isBigNumber(value: any): value is BigNumber { - return !!value._bn; + return (value instanceof BigNumber); } function addSlice(array: Uint8Array): Uint8Array {