fix review tool
This commit is contained in:
@ -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{
|
||||
|
Reference in New Issue
Block a user