ConsenSysMesh / cava

ConsenSys core libraries for Java & Kotlin
Apache License 2.0
84 stars 34 forks source link

Correct the encoding of integer 0 in RLP #65

Closed cleishm closed 6 years ago

cleishm commented 6 years ago

It was incorrectly being encoded as 0x00, rather than 0x80. It was decoding correctly, as 0x00 and 0x80 are (somewhat) equivalent.