validation: fix hash formatting
This commit is contained in:
parent
db52b1dcd4
commit
8c45736cf4
@ -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)?;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user