We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae5c025 commit ce96fd0Copy full SHA for ce96fd0
near-plugins-derive/tests/upgradable.rs
@@ -215,7 +215,7 @@ fn convert_code_to_crypto_hash(code: &[u8]) -> CryptoHash {
215
fn convert_code_to_deploy_hash(code: &[u8]) -> String {
216
use near_sdk::base64::Engine;
217
let hash = near_sdk::env::sha256(code);
218
- near_sdk::base64::prelude::BASE64_STANDARD.encode(&hash)
+ near_sdk::base64::prelude::BASE64_STANDARD.encode(hash)
219
}
220
221
/// Smoke test of contract setup.
0 commit comments