From a8db5808031d2aeaeab7362242ded6e3bb4f1f72 Mon Sep 17 00:00:00 2001 From: DenioD Date: Thu, 24 Oct 2019 02:35:49 +0200 Subject: [PATCH] fix Github link, port for Hush --- lib/src/lib.rs | 2 +- src/controller.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/lib.rs b/lib/src/lib.rs index 5ed46d7..22c3ff9 100644 --- a/lib/src/lib.rs +++ b/lib/src/lib.rs @@ -29,7 +29,7 @@ pub extern fn litelib_initialze_existing(dangerous: bool, server: *const c_char) }; let server = LightClientConfig::get_server_or_default(Some(server_str)); - let (config, latest_block_height) = match LightClientConfig::create(server, dangerous) { + let (config, _latest_block_height) = match LightClientConfig::create(server, dangerous) { Ok((c, h)) => (c, h), Err(e) => { let e_str = CString::new(format!("Error: {}", e)).unwrap(); diff --git a/src/controller.cpp b/src/controller.cpp index 0aeb0e5..b9f08e6 100644 --- a/src/controller.cpp +++ b/src/controller.cpp @@ -434,7 +434,7 @@ void Controller::checkForUpdate(bool silent) { if (!zrpc->haveConnection()) return noConnection(); - QUrl cmcURL("https://api.github.com/repos/MyHush/silentdragon/releases"); + QUrl cmcURL("https://api.github.com/repos/MyHush/SilentDragonLite/releases"); QNetworkRequest req; req.setUrl(cmcURL);