Skip to content

Commit

Permalink
fix ffi
Browse files Browse the repository at this point in the history
  • Loading branch information
SWvheerden committed Sep 20, 2024
1 parent 52054fc commit 8f456bd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions integration_tests/src/ffi/ffi_import.rs
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ extern "C" {
num_rolling_log_files: c_uint,
size_per_log_file_bytes: c_uint,
passphrase: *const c_char,
seed_passphrase: *const c_char,
seed_words: *const TariSeedWords,
network_str: *const c_char,
peer_seed_str: *const c_char,
Expand Down
2 changes: 2 additions & 0 deletions integration_tests/src/ffi/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

use std::{
ffi::CString,
ptr,
ptr::null_mut,
sync::{Arc, Mutex},
};
Expand Down Expand Up @@ -185,6 +186,7 @@ impl Wallet {
50,
104857600, // 100 MB
CString::new("kensentme").unwrap().into_raw(),
ptr::null(),
seed_words_ptr,
CString::new("localnet").unwrap().into_raw(),
CString::new("").unwrap().into_raw(),
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/tests/features/WalletFFI.feature
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ Feature: Wallet FFI
Then wallet RECEIVER has at least 1 transactions that are all TRANSACTION_STATUS_MINED_CONFIRMED and not cancelled
And I stop ffi wallet FFI_WALLET

@critical
@critical @pie
Scenario: As a client I want to receive a one-sided transaction
Given I have a seed node SEED
When I have a base node BASE1 connected to all seed nodes
Expand Down

0 comments on commit 8f456bd

Please sign in to comment.