Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
sdbondi committed Dec 9, 2021
1 parent 5b03c98 commit 1b960df
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion base_layer/wallet_ffi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3003,7 +3003,7 @@ pub unsafe extern "C" fn comms_list_connected_public_keys(
Err(e) => {
error = LibWalletError::from(e).code;
ptr::swap(error_out, &mut error as *mut c_int);
return ptr::null_mut();
ptr::null_mut()
},
}
}
Expand Down
3 changes: 3 additions & 0 deletions base_layer/wallet_ffi/wallet.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ struct TariPublicKey *public_key_from_hex(const char *hex, int *error_out);
// Frees memory for a TariPublicKey pointer
void public_key_destroy(struct TariPublicKey *pk);

// Frees memory for a TariPublicKeys pointer
void public_keys_destroy(struct TariPublicKeys *pk);

//Converts a TariPublicKey to char array in emoji format
char *public_key_to_emoji_id(struct TariPublicKey *pk, int *error_out);

Expand Down
3 changes: 1 addition & 2 deletions integration_tests/cucumber.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module.exports = {
default:
"--tags 'not @long-running and not @wallet-ffi and not @broken' --fail-fast",
default: "--tags 'not @long-running and not @broken' --fail-fast",
ci: " ",
critical: "--format @cucumber/pretty-formatter --tags @critical",
};
1 change: 1 addition & 0 deletions integration_tests/features/WalletFFI.feature
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Feature: Wallet FFI
Then I retrieve the mnemonic word list for SPANISH from ffi wallet FFI_WALLET
And I stop ffi wallet FFI_WALLET

@doit
Scenario: As a client I want to set the base node
Given I have a base node BASE1
And I have a base node BASE2
Expand Down

0 comments on commit 1b960df

Please sign in to comment.