neo-one
neo-one copied to clipboard
Fix/remove special `manifest.serializeWireForNeo()` method
In the Neo repo you'll see that they serialize and deserialize the manifest in an odd way. So I had to create special manifest methods called serializeWireBaseForNeo
and serializeWireForNeo
. And in BinaryWriter: writeVarStringWithoutVar
to mitigate this problem. I think this is the wrong way for Neo to implement this. There should be another byte in the beginning to indicate the variable length!
Make sure that we are serializing and deserializing the manifest correctly as well