aionnetwork / aion_api

aion network api repository
MIT License
20 stars 20 forks source link

Fixed MsgExecutor response msg #30

Closed aionick closed 6 years ago

aionick commented 6 years ago

When status is 105 the MsgExecutor returns the message response but this response is prepended by a byte representing the size of the error code (so that the error code can be skipped over and the response itself can be sent) but currently the jumping doesn't work and the length-byte and everything afterwards gets sent off as the response.

This fix just grabs the response at the correct starting index.