diff --git a/src/rust/include/librustzcash.h b/src/rust/include/librustzcash.h index 70f39539a..f69ae6c6d 100644 --- a/src/rust/include/librustzcash.h +++ b/src/rust/include/librustzcash.h @@ -8,7 +8,8 @@ #include #endif -const int ENTRY_SERIALIZED_LENGTH = 180; +#define ENTRY_SERIALIZED_LENGTH 180 + typedef struct HistoryEntry { unsigned char bytes[ENTRY_SERIALIZED_LENGTH]; } HistoryEntry;