Skip to content

Commit

Permalink
cleanup unused branches/variants of certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
ecioppettini committed Oct 6, 2023
1 parent df472ed commit 50b497f
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions indexer/tasks/src/multiera/multiera_address_delegation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ async fn handle(
.save(db_tx)
.await?;
}
Certificate::StakeRegistration(credential) => {}
Certificate::StakeDeregistration(credential) => {
let credential = credential.encode_fragment().unwrap();

Expand All @@ -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) => {}
_ => {}
};
};
}
Expand Down

0 comments on commit 50b497f

Please sign in to comment.