mining bug fixed
Merge pull request #4 from bitmonero-project/upstream

mining bug fixed