Skip to content

Commit

Permalink
deploy strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
aazhou1 committed Dec 21, 2024
1 parent 55470b4 commit 73b8b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hardhat-scripts/deploy-strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async function checkUnderlyingVaultAsset(
);
const underlyingAsset = await vault.asset();
if (underlyingAsset.toLowerCase() !== asset.toLowerCase()) {
throw new Error("Underlying asset does not match asset");
throw new Error(`Underlying asset (${underlyingAsset}) does not match asset (${asset})`);
}
}

Expand Down

0 comments on commit 73b8b3b

Please sign in to comment.