From b412cc82f553acdd402c33f5dfa8ed0bc45da41a Mon Sep 17 00:00:00 2001 From: "Daniel Porteous (dport)" Date: Thu, 23 May 2024 14:21:03 +0100 Subject: [PATCH] Fix lints given new nightly (#387) --- rust/processor/src/grpc_stream.rs | 2 +- .../src/models/stake_models/current_delegated_voter.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/processor/src/grpc_stream.rs b/rust/processor/src/grpc_stream.rs index 52e0fad09..e1674dcd0 100644 --- a/rust/processor/src/grpc_stream.rs +++ b/rust/processor/src/grpc_stream.rs @@ -301,7 +301,7 @@ pub async fn get_chain_id( /// There could be several special scenarios: /// 1. If we lose the connection, we will try reconnecting X times within Y seconds before crashing. /// 2. If we specified an end version and we hit that, we will stop fetching, but we will make sure that -/// all existing transactions are processed +/// all existing transactions are processed pub async fn create_fetcher_loop( txn_sender: AsyncSender, indexer_grpc_data_service_address: Url, diff --git a/rust/processor/src/models/stake_models/current_delegated_voter.rs b/rust/processor/src/models/stake_models/current_delegated_voter.rs index 8915d83dd..889a28e29 100644 --- a/rust/processor/src/models/stake_models/current_delegated_voter.rs +++ b/rust/processor/src/models/stake_models/current_delegated_voter.rs @@ -67,7 +67,7 @@ impl CurrentDelegatedVoter { /// There are 3 pieces of information we need in order to get the delegated voters /// 1. We need the mapping between pool address and table handle of the governance record. This will help us - /// figure out what the pool address it is + /// figure out what the pool address it is /// 2. We need to parse the governance record itself /// 3. All active shares prior to governance contract need to be tracked as well, the default voters are the delegators themselves pub async fn from_write_table_item(