fix to get difficulty so it uses the correct nbits in the difficulty cal...

...culations