[#348] fix check tx for sweeping