Skip to content

Conversation

Reimajo
Copy link

@Reimajo Reimajo commented Feb 23, 2022

When using types without argument data, e.g. Bools, the message end with the type. Since no byte follows, msg.Length is index + 4 in this case and getTypes needs to check i <= msg.Length and not i < msg.Length

When using types without argument data, e.g. Bools, the message end with the type. Since no byte follows, msg.Length is index + 4 in this case and getTypes needs to check i <= msg.Length and not i < msg.Length
@Opcode01
Copy link

Opcode01 commented May 21, 2022

Hey, I just ran into this same issue. I made this same change locally and it worked. Looks like this might solve #5 , this change should be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants