-
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
The v in signatures assigned to inputs has 2 conflicting types.
1.) 8-bit unsigned
Line 92 in c2c30fb
| assert(Util.isU8(v), 'v must be a uint8.'); |
2.) 8-bit signed
Line 201 in c2c30fb
| dataBuf.writeInt8(this.v, 97); |
So the only possible values one can assign of v without throwing an exception are (0, 127), which is neither a byte (0, 255) or an unsigned byte (-128, 127).
But this is not critical at all since valid v's will always be in the range (0, 127) - read
Reactions are currently unavailable