Skip to content

Commit 4d7ea6e

Browse files
chore: apply cargo fmt
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 587411b commit 4d7ea6e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

key-wallet-ffi/src/address_pool.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -947,8 +947,10 @@ pub unsafe extern "C" fn address_info_free(info: *mut FFIAddressInfo) {
947947
));
948948
}
949949
if !info.public_key.is_null() && info.public_key_len > 0 {
950-
let _ =
951-
Box::from_raw(std::ptr::slice_from_raw_parts_mut(info.public_key, info.public_key_len));
950+
let _ = Box::from_raw(std::ptr::slice_from_raw_parts_mut(
951+
info.public_key,
952+
info.public_key_len,
953+
));
952954
}
953955
}
954956
}

0 commit comments

Comments
 (0)