logic error in testnet work_required() calculation.