Skip to content

Commit

Permalink
fix: ffi hot fix (#5251)
Browse files Browse the repository at this point in the history
Description
---
Fixes the build for the `wallet.h` file

How Has This Been Tested?
---
manual 


Breaking Changes
---

- [x] None
- [ ] Requires data directory on base node to be deleted
- [ ] Requires hard fork
- [ ] Other - Please specify

<!-- Does this include a breaking change? If so, include this line as a
footer -->
<!-- BREAKING CHANGE: Description what the user should do, e.g. delete a
database, resync the chain -->
  • Loading branch information
SWvheerden committed Mar 16, 2023
1 parent 57781b6 commit 9533e40
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions base_layer/wallet_ffi/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ fn main() {
"tari_crypto".to_string(),
"tari_p2p".to_string(),
"tari_wallet".to_string(),
"tari_contacts".to_string(),
]),
..Default::default()
},
Expand Down
8 changes: 6 additions & 2 deletions base_layer/wallet_ffi/wallet.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ struct CommitmentAndPublicKeySignature_RistrettoPublicKey__RistrettoSecretKey;

struct CompletedTransaction;

struct Contact;

struct ContactsLivenessData;

struct Covenant;

struct EmojiSet;
Expand Down Expand Up @@ -298,9 +302,9 @@ typedef struct Covenant TariCovenant;

typedef struct EncryptedValue TariEncryptedValue;

typedef Contact TariContact;
typedef struct Contact TariContact;

typedef ContactsLivenessData TariContactsLivenessData;
typedef struct ContactsLivenessData TariContactsLivenessData;

typedef struct CompletedTransaction TariCompletedTransaction;

Expand Down

0 comments on commit 9533e40

Please sign in to comment.