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.
1 parent e2aac79 commit adc0e1fCopy full SHA for adc0e1f
src/burnchains/bitcoin/indexer.rs
@@ -708,10 +708,10 @@ impl BurnchainIndexer for BitcoinIndexer {
708
/// Valid epochs include stacks 1.0, stacks 2.0, stacks 2.05, and so on.
709
///
710
/// Choose according to:
711
- /// 1) Use the epochs defined on the underlying `BitcoinIndexerConfig`, if they exist.
+ /// 1) Use the custom epochs defined on the underlying `BitcoinIndexerConfig`, if they exist.
712
/// 2) Use hard-coded static values, otherwise.
713
714
- /// It is an error to set custom epochs if running on `Mainnet`.
+ /// It is an error (panic) to set custom epochs if running on `Mainnet`.
715
fn get_stacks_epochs(&self) -> Vec<StacksEpoch> {
716
match self.config.epochs {
717
Some(ref epochs) => {
0 commit comments