Skip to content

Commit

Permalink
mainnet doesn't clone
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorycoppola committed Nov 19, 2021
1 parent 9875c5d commit 15a3b6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clarity_vm/clarity.rs
Expand Up @@ -389,7 +389,7 @@ impl ClarityInstance {
epoch,
};

let use_mainnet = self.mainnet.clone();
let use_mainnet = self.mainnet;
conn.as_transaction(|clarity_db| {
let (ast, _) = clarity_db
.analyze_smart_contract(&boot_code_id("costs", use_mainnet), BOOT_CODE_COSTS)
Expand Down

0 comments on commit 15a3b6e

Please sign in to comment.