fix input data size check
fix input data size check


Former-commit-id: 3f866c8bdb81757f9b9e2c47a81fc0f6e560c856
syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin