fix scan to work with map
fix scan to work with map


Former-commit-id: b22d55b9a5fe11d1e5b413c5aba5390c2f01522b
syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin