From a558c0a2deab149183f125a012b14b709150401c Mon Sep 17 00:00:00 2001 From: Lukasz Klimek <842586+lklimek@users.noreply.github.com> Date: Mon, 13 Jan 2025 09:23:41 +0100 Subject: [PATCH] chore: linter warnings --- proto-compiler/src/constants.rs | 1 - proto-compiler/src/functions.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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 =