Fixed rpcmining