Fixed rpcmining
Merge pull request #1 from f0o/master

Fixed rpcmining