Skip to content

Commit

Permalink
Merge pull request #5648 from jbencin/chore/clippy-borrow-deref-ref
Browse files Browse the repository at this point in the history
chore: Apply Clippy lint `borrow_deref_ref`
  • Loading branch information
jbencin authored Jan 4, 2025
2 parents 2e8ac08 + 1344ecb commit 95d511e
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 95d511e

Please sign in to comment.