From ff3134197fbc00183f782a7dc085302b7068c6c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ernesto=20Garc=C3=ADa?= Date: Tue, 10 Dec 2024 15:31:26 -0600 Subject: [PATCH] Amend shouldSupportInterfaces refactor (#5359) --- test/utils/introspection/SupportsInterface.behavior.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/utils/introspection/SupportsInterface.behavior.js b/test/utils/introspection/SupportsInterface.behavior.js index ae7c5ab5d..51948279c 100644 --- a/test/utils/introspection/SupportsInterface.behavior.js +++ b/test/utils/introspection/SupportsInterface.behavior.js @@ -95,8 +95,8 @@ const INTERFACE_IDS = mapValues(SIGNATURES, interfaceId); function shouldSupportInterfaces(interfaces = [], signatures = SIGNATURES) { // case where only signatures are provided if (!Array.isArray(interfaces)) { - interfaces = Object.keys(interfaces); signatures = interfaces; + interfaces = Object.keys(interfaces); } interfaces.unshift('ERC165');