Skip to content

Commit

Permalink
re-add epoch_stability_depth to Settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ecioppettini committed Feb 8, 2021
1 parent 246edb1 commit 664a300
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions jormungandr/src/explorer/graphql/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1120,6 +1120,14 @@ impl Settings {
)),
}
}

pub fn epoch_stability_depth(&self, context: &Context) -> String {
context
.db
.blockchain_config
.epoch_stability_depth
.to_string()
}
}

struct Treasury {
Expand Down

0 comments on commit 664a300

Please sign in to comment.