I was testing non-standard signature hash flags on test and regtest and was getting these rejections: "non-mandatory-script-verify-flag (Signature hash type missing or not understood)"
This change to AcceptToMemoryPoolWorker simply allows the mempool of nodes on the test and regtest networks to accept transactions containing signatures with non-standard signature hash types.