We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
stake_pool_store
1 parent 57af397 commit 2b3eb1fCopy full SHA for 2b3eb1f
mithril-aggregator/src/database/repository/stake_pool_store.rs
@@ -91,9 +91,7 @@ impl StakeStorer for StakePoolStore {
91
#[async_trait]
92
impl StakeDistributionRetriever for StakePoolStore {
93
async fn retrieve(&self, epoch: Epoch) -> StdResult<Option<StakeDistribution>> {
94
- let stake_distribution = self.get_stakes(epoch).await?;
95
-
96
- Ok(stake_distribution)
+ self.get_stakes(epoch).await
97
}
98
99
0 commit comments