Skip to content

Commit

Permalink
some more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
salman01zp committed May 2, 2024
1 parent 0cf598a commit c95fd0b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/proof-generation/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pub enum ProofGenerationError {
JsonDecodeError,
}

///
/// Proof inputs for Masp proof delegation.
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct MaspDelegatedProofInputsJson {
Expand Down
2 changes: 1 addition & 1 deletion crates/relayer-config/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ pub fn parse_from_files(
// merge in all of the contracts into the config
for (network_name, network_chain) in c.evm.iter_mut() {
if let Some(stored_contracts) = contracts.get(network_name) {
network_chain.contracts = stored_contracts.clone();
network_chain.contracts.clone_from(stored_contracts)
}
}

Expand Down
2 changes: 1 addition & 1 deletion crates/relayer-utils/src/static_tx_payload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl TxPayload for TypeErasedStaticTxPayload {
_metadata: &subxt::Metadata,
out: &mut Vec<u8>,
) -> Result<(), tangle_subxt::subxt::Error> {
*out = self.tx_data.clone();
out.clone_from(&self.tx_data);
Ok(())
}
}

0 comments on commit c95fd0b

Please sign in to comment.