diff --git a/base_layer/wallet_ffi/src/lib.rs b/base_layer/wallet_ffi/src/lib.rs index 5be7ef88c9..7186617bad 100644 --- a/base_layer/wallet_ffi/src/lib.rs +++ b/base_layer/wallet_ffi/src/lib.rs @@ -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() }, } } diff --git a/base_layer/wallet_ffi/wallet.h b/base_layer/wallet_ffi/wallet.h index 7b281c2be8..7e654543ef 100644 --- a/base_layer/wallet_ffi/wallet.h +++ b/base_layer/wallet_ffi/wallet.h @@ -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); diff --git a/integration_tests/cucumber.js b/integration_tests/cucumber.js index ed54e8a506..2581a96d35 100644 --- a/integration_tests/cucumber.js +++ b/integration_tests/cucumber.js @@ -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", }; diff --git a/integration_tests/features/WalletFFI.feature b/integration_tests/features/WalletFFI.feature index 972832d248..b6e396fea4 100644 --- a/integration_tests/features/WalletFFI.feature +++ b/integration_tests/features/WalletFFI.feature @@ -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