Skip to content

Commit ce96fd0

Browse files
committed
Fix clippy
1 parent ae5c025 commit ce96fd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

near-plugins-derive/tests/upgradable.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ fn convert_code_to_crypto_hash(code: &[u8]) -> CryptoHash {
215215
fn convert_code_to_deploy_hash(code: &[u8]) -> String {
216216
use near_sdk::base64::Engine;
217217
let hash = near_sdk::env::sha256(code);
218-
near_sdk::base64::prelude::BASE64_STANDARD.encode(&hash)
218+
near_sdk::base64::prelude::BASE64_STANDARD.encode(hash)
219219
}
220220

221221
/// Smoke test of contract setup.

0 commit comments

Comments
 (0)