@isp92074 I had the same error, please check that SegWit height is not 1.
At the beginning try to leave the SegWit height as is.
Height was 0))now I made a consensus.segwit height as in last bitcoin, but the error persists. testnet works without this error