fix review tool

This commit is contained in:
2025-06-06 15:04:50 -07:00
parent a9e838d445
commit bfe55c2af6

@ -147,7 +147,7 @@ async fn review(config:ReviewConfig)->Result<(),ReviewError>{
submissions_api::types::Policy::Allowed
}else{
// compute hash
let hash=hash_source(source.as_str());
let hash=hash_source(modified_source.as_str());
// check if modified script already exists
let maybe_script_response=api.get_script_from_hash(submissions_api::types::HashRequest{