From fcb946264c39e826c196a0e4e7d1f3eefffdf596 Mon Sep 17 00:00:00 2001 From: SW van Heerden Date: Fri, 24 Mar 2023 12:01:23 +0200 Subject: [PATCH] Update base_layer/wallet_ffi/src/lib.rs --- base_layer/wallet_ffi/src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/base_layer/wallet_ffi/src/lib.rs b/base_layer/wallet_ffi/src/lib.rs index c390442dd3..6152b25a7b 100644 --- a/base_layer/wallet_ffi/src/lib.rs +++ b/base_layer/wallet_ffi/src/lib.rs @@ -5513,8 +5513,6 @@ pub unsafe extern "C" fn wallet_get_last_network(config: *mut TariCommsConfig, e .datastore_path .join((*config).peer_database_name.clone()) .with_extension("sqlite3"); - - match get_last_network(sql_database_path) { Ok(None) => ptr::null_mut(), Ok(Some(network)) => {