Closed SurienDG closed 3 years ago
Example: When I try to do redSub(b: BN): RedBN it with a regular BN for b it gives me an error that says Error: red works only with red numbers.
redSub(b: BN): RedBN
BN
b
Error: red works only with red numbers
So shouldn't the input type here be RedBN not BN?
RedBN
Is this from some TS definition? If so, please contact the author of these definitions because we do not provide them.
Example: When I try to do
redSub(b: BN): RedBN
it with a regularBN
forb
it gives me an error that saysError: red works only with red numbers
.So shouldn't the input type here be
RedBN
notBN
?