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 39f4fb6 commit 39a1c9eCopy full SHA for 39a1c9e
testnet/stacks-node/src/node.rs
@@ -184,7 +184,11 @@ impl Node {
184
pub fn new(config: Config, boot_block_exec: Box<dyn FnOnce(&mut ClarityTx) -> ()>) -> Self {
185
let use_test_genesis_data = if config.burnchain.mode == "mocknet" {
186
// When running in mocknet mode allow the small test genesis chainstate data to be enabled.
187
- env::var("BLOCKSTACK_USE_TEST_GENESIS_CHAINSTATE") == Ok("1".to_string())
+ if env::var("BLOCKSTACK_USE_TEST_GENESIS_CHAINSTATE") == Ok("1".to_string()) {
188
+ true
189
+ } else {
190
+ USE_TEST_GENESIS_CHAINSTATE
191
+ }
192
} else {
193
USE_TEST_GENESIS_CHAINSTATE
194
};
0 commit comments