Skip to content

Commit ff31341

Browse files
authored
Amend shouldSupportInterfaces refactor (#5359)
1 parent 6dacc68 commit ff31341

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/utils/introspection/SupportsInterface.behavior.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ const INTERFACE_IDS = mapValues(SIGNATURES, interfaceId);
9595
function shouldSupportInterfaces(interfaces = [], signatures = SIGNATURES) {
9696
// case where only signatures are provided
9797
if (!Array.isArray(interfaces)) {
98-
interfaces = Object.keys(interfaces);
9998
signatures = interfaces;
99+
interfaces = Object.keys(interfaces);
100100
}
101101

102102
interfaces.unshift('ERC165');

0 commit comments

Comments
 (0)