Amend shouldSupportInterfaces refactor (#5359)

pull/5361/head
Ernesto García 2 months ago committed by GitHub
parent 6dacc68c46
commit ff3134197f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      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');

Loading…
Cancel
Save