From 50b497f9133271ec7c55b90bec946033c111a6f1 Mon Sep 17 00:00:00 2001 From: Enzo Cioppettini Date: Thu, 5 Oct 2023 21:06:27 -0300 Subject: [PATCH] cleanup unused branches/variants of certificates --- .../tasks/src/multiera/multiera_address_delegation.rs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/indexer/tasks/src/multiera/multiera_address_delegation.rs b/indexer/tasks/src/multiera/multiera_address_delegation.rs index 5744813c..cf000fda 100644 --- a/indexer/tasks/src/multiera/multiera_address_delegation.rs +++ b/indexer/tasks/src/multiera/multiera_address_delegation.rs @@ -77,7 +77,6 @@ async fn handle( .save(db_tx) .await?; } - Certificate::StakeRegistration(credential) => {} Certificate::StakeDeregistration(credential) => { let credential = credential.encode_fragment().unwrap(); @@ -95,15 +94,7 @@ async fn handle( .save(db_tx) .await?; } - Certificate::PoolRegistration { - operator, - pool_owners, - reward_account, - .. - } => {} - Certificate::PoolRetirement(key_hash, _) => {} - Certificate::GenesisKeyDelegation(_, _, _) => {} - Certificate::MoveInstantaneousRewardsCert(mir) => {} + _ => {} }; }; }