Skip to content

Commit 320018b

Browse files
committed
type missmatch
1 parent f06e8b5 commit 320018b

File tree

1 file changed

+1
-1
lines changed
  • contracts/programs/keystone-forwarder/src

1 file changed

+1
-1
lines changed

contracts/programs/keystone-forwarder/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ pub mod keystone_forwarder {
210210
preimage.push(raw_report_len_u8);
211211
preimage.extend_from_slice(data);
212212

213-
let hashed_report = hash::hash(preimage).to_bytes();
213+
let hashed_report = hash::hash(&preimage).to_bytes();
214214

215215
verify_signatures(&hashed_report, signatures, &oracles_config, num_signatures)?;
216216

0 commit comments

Comments
 (0)