diff --git a/validation/src/validator.rs b/validation/src/validator.rs index ab4995c..9e0b791 100644 --- a/validation/src/validator.rs +++ b/validation/src/validator.rs @@ -121,7 +121,7 @@ impl Validator{ // fetch the script policy let script_policy=interpret_get_script_policy_response( self.api.get_script_policy_from_hash(submissions_api::external::ScriptPolicyHashRequest{ - hash:format!("{:x}",hash).as_str(), + hash:format!("{:016x}",hash).as_str(), }).await ).map_err(ValidateError::ApiGetScriptPolicy)?;