You've already forked specification
f4cdd5a4ac
Added Bitcoin Cash treatment of hash endianness which differs from mainstream hash implementations.