Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Artemka374 committed Jan 30, 2023
1 parent 3e78b76 commit 6804763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/reentrancy/lib.rs
Expand Up @@ -71,7 +71,7 @@ mod test {
ink::env::test::register_contract::<MainContract>(hash1.as_ref());
ink::env::test::register_contract::<FallbackContract>(hash2.as_ref());

let fallback_contract = FallbackContractRef::new(hash1.clone())
let fallback_contract = FallbackContractRef::new(hash1)
.code_hash(hash2)
.endowment(0)
.salt_bytes([0u8; 0])
Expand Down

0 comments on commit 6804763

Please sign in to comment.