We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c66348 commit c767dbcCopy full SHA for c767dbc
packages/hardhat-chai-matchers/src/internal/addressable.ts
@@ -28,7 +28,7 @@ function override(
28
// otherwise undefined is returned.
29
function tryGetAddressSync(value: any): string | undefined {
30
value = tryDereference(value, "address");
31
- if(isAddressable(value)) {
+ if (isAddressable(value)) {
32
value = (value as any).address ?? (value as any).target;
33
}
34
if (isAddress(value)) {
0 commit comments