diff --git a/proto-compiler/src/constants.rs b/proto-compiler/src/constants.rs index 468a125..d31d59d 100644 --- a/proto-compiler/src/constants.rs +++ b/proto-compiler/src/constants.rs @@ -9,7 +9,6 @@ pub const DEP_PROTOC_VERSION: f32 = 25.0; pub const TENDERDASH_REPO: &str = "https://github.com/dashpay/tenderdash"; /// How to generate the protobuf files. - pub enum GenerationMode { /// Generate the files using `tonic` and put them into `tenderdash_grpc` /// module. diff --git a/proto-compiler/src/functions.rs b/proto-compiler/src/functions.rs index 7016fbb..cd70592 100644 --- a/proto-compiler/src/functions.rs +++ b/proto-compiler/src/functions.rs @@ -311,7 +311,7 @@ pub mod meta {{ tenderdash_commitish(), abci_ver, td_ver, - mode.to_string(), + mode, ); let mut file =