Closed vrolland closed 6 years ago
Hello guys, Very interesting by your work.
Here a change to make the example works from 'http://tendermint.readthedocs.io/en/master/getting-started.html#counterjs-example-in-another-language'
The change will add a padding of zero to the buffer 'request.tx' in case it's smaller than 4 Bytes. This will avoid the exception: "RangeError: Index out of range".
Cheers!
Thanks @vrolland!
Hello guys, Very interesting by your work.
Here a change to make the example works from 'http://tendermint.readthedocs.io/en/master/getting-started.html#counterjs-example-in-another-language'
The change will add a padding of zero to the buffer 'request.tx' in case it's smaller than 4 Bytes. This will avoid the exception: "RangeError: Index out of range".
Cheers!