We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63df5d8 commit de085dcCopy full SHA for de085dc
1 file changed
dash-spv-ffi/src/config.rs
@@ -175,9 +175,7 @@ pub unsafe extern "C" fn dash_spv_ffi_config_add_peer(
175
/// - `config` must be a valid pointer to an FFIClientConfig created by dash_spv_ffi_config_new/mainnet/testnet
176
/// - The caller must ensure the config pointer remains valid for the duration of this call
177
#[no_mangle]
178
-pub unsafe extern "C" fn dash_spv_ffi_config_clear_peers(
179
- config: *mut FFIClientConfig,
180
-) -> i32 {
+pub unsafe extern "C" fn dash_spv_ffi_config_clear_peers(config: *mut FFIClientConfig) -> i32 {
181
null_check!(config);
182
183
let cfg = unsafe { &mut *((*config).inner as *mut ClientConfig) };
0 commit comments