Skip to content

Commit

Permalink
chore: fix linter and remove accidentally commited file
Browse files Browse the repository at this point in the history
  • Loading branch information
CJ42 committed May 28, 2024
1 parent fde9f5d commit 93b1c08
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
23 changes: 0 additions & 23 deletions src/lib/Untitled-1

This file was deleted.

2 changes: 1 addition & 1 deletion src/lib/decodeData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export function decodeKey(schema: ERC725JSONSchema, value) {
switch (lowerCaseKeyType) {
case 'array': {
// If user has requested a key which does not exist in the contract, value will be: 0x and value.find() will fail.
if (!value || value == '0x') {
if (!value || value === '0x') {
return [];
}

Expand Down

0 comments on commit 93b1c08

Please sign in to comment.