Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-kaufman committed Mar 25, 2024
1 parent 9aa0e60 commit f841444
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy/013_verify_deployment.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ const func = async function (hre) {
);

// Verify HATArbitrator
let useKleros = config["hatVaultsRegistryConf"]["useKleros"];

if (useKleros) {
verify(
await read('HATArbitrator', {}, 'owner') === (await deployments.get('HATTimelockController')).address,
Expand Down Expand Up @@ -255,7 +257,6 @@ const func = async function (hre) {
let bountyGovernanceHAT = config["hatVaultsRegistryConf"]["bountyGovernanceHAT"];
let bountyHackerHATVested = config["hatVaultsRegistryConf"]["bountyHackerHATVested"];
let swapToken = config["hatVaultsRegistryConf"]["swapToken"];
let useKleros = config["hatVaultsRegistryConf"]["useKleros"];
if (!swapToken || swapToken === "HATToken") {
swapToken = (await deployments.get('HATToken')).address;
}
Expand Down

0 comments on commit f841444

Please sign in to comment.