Skip to content

Commit

Permalink
chore: Apply Clippy lint borrow_deref_ref
Browse files Browse the repository at this point in the history
  • Loading branch information
jbencin committed Jan 3, 2025
1 parent 8c23c0e commit 1344ecb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stackslib/src/clarity_vm/clarity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -822,9 +822,9 @@ impl<'a> ClarityBlockConnection<'a, '_> {

// instantiate costs 2 contract...
let cost_2_code = if mainnet {
&*BOOT_CODE_COSTS_2
BOOT_CODE_COSTS_2
} else {
&*BOOT_CODE_COSTS_2_TESTNET
BOOT_CODE_COSTS_2_TESTNET
};

let payload = TransactionPayload::SmartContract(
Expand Down Expand Up @@ -1013,7 +1013,7 @@ impl<'a> ClarityBlockConnection<'a, '_> {
}

/////////////////// .costs-3 ////////////////////////
let cost_3_code = &*BOOT_CODE_COSTS_3;
let cost_3_code = BOOT_CODE_COSTS_3;

let payload = TransactionPayload::SmartContract(
TransactionSmartContract {
Expand Down

0 comments on commit 1344ecb

Please sign in to comment.