Skip to content

Commit

Permalink
FMT
Browse files Browse the repository at this point in the history
  • Loading branch information
gupnik committed Jan 23, 2025
1 parent 093fe13 commit c4184be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rust/wallet_core_rs/src/ffi/ton/address_converter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ pub unsafe extern "C" fn tw_ton_address_converter_to_boc(
/// \return Pointer to a Jetton address.
#[tw_ffi(ty = static_function, class = TWTONAddressConverter, name = FromBoc)]
#[no_mangle]
pub unsafe extern "C" fn tw_ton_address_converter_from_boc(boc: Nonnull<TWString>) -> NullableMut<TWString> {
pub unsafe extern "C" fn tw_ton_address_converter_from_boc(
boc: Nonnull<TWString>,
) -> NullableMut<TWString> {
let boc = try_or_else!(TWString::from_ptr_as_ref(boc), std::ptr::null_mut);
let boc_str = try_or_else!(boc.as_str(), std::ptr::null_mut);

Expand Down

0 comments on commit c4184be

Please sign in to comment.