Fix Lyra2RE mining.