This repository has been archived by the owner on May 24, 2022. It is now read-only.
Block with non-BigNumber number
field makes distinctValues throw
#76
Labels
eth_newHeads
(I think) returns a Block with the number field being a string (e.g."0x..."
);distinctValues
assumes that the number field is a BigNumber: https://github.com/paritytech/js-libs/blob/master/packages/light.js/src/utils/operators/distinctValues.ts#L26 and as such we getx.number.eq is not a function
The text was updated successfully, but these errors were encountered: