ensure we lock main first in istransactionvalid
ensure we lock main first in istransactionvalid


Former-commit-id: 595a428786e282a72f1aaca4a732e76ec5111685
syscoin/syscoin,syscoin/syscoin2,syscoin/syscoin2,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin2,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin2,syscoin/syscoin,syscoin/syscoin2,syscoin/syscoin2,syscoin/syscoin