Linux and Windows build

This commit is contained in:
Aditya Kulkarni
2019-10-28 12:39:41 -07:00
parent 764f1e315d
commit 48e5846899
3 changed files with 9 additions and 11 deletions

View File

@@ -105,14 +105,6 @@ pub extern fn litelib_initialize_new_from_phrase(dangerous: bool, server: *const
}
};
let seed = match lightclient.do_seed_phrase() {
Ok(s) => s.dump(),
Err(e) => {
let e_str = CString::new(format!("Error: {}", e)).unwrap();
return e_str.into_raw();
}
};
LIGHTCLIENT.lock().unwrap().replace(Some(Arc::new(lightclient)));
let c_str = CString::new("OK").unwrap();