Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Apply Clippy lint borrow_deref_ref #5648

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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