diff --git a/aptos-move/aptos-release-builder/src/components/mod.rs b/aptos-move/aptos-release-builder/src/components/mod.rs index dde371cfae9aa..4e6bd467a2646 100644 --- a/aptos-move/aptos-release-builder/src/components/mod.rs +++ b/aptos-move/aptos-release-builder/src/components/mod.rs @@ -77,7 +77,7 @@ impl ReleaseConfig { } if let Some(gas_schedule) = &self.gas_schedule { - if !fetch_and_compare::(&client, &gas_schedule)? { + if !fetch_and_compare::(&client, gas_schedule)? { result.append(&mut gas::generate_gas_upgrade_proposal( gas_schedule, self.testnet, @@ -86,7 +86,7 @@ impl ReleaseConfig { } if let Some(version) = &self.version { - if !fetch_and_compare::(&client, &version)? { + if !fetch_and_compare::(&client, version)? { result.append(&mut version::generate_version_upgrade_proposal( version, self.testnet,