fix writevarint
fix writevarint


Former-commit-id: 6c06433102f4d62f2d77a36a9b49b819dda3a51e
syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin