fixed error calculating btc mined