void MiningAuthorize(JObject obj) { mAuthorized = (bool)obj["result"]; if (!mAuthorized) Disconnect(); }