-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix dictionary bigint #281
Conversation
Coverage reportCaution Test run failed
Test suite run failedFailed tests: 4/73. Failed suites: 2/8.
Report generated by 🧪jest coverage report action from 5133262 |
if (BigInt(filter.values[key]) === decodedMsgData) { | ||
continue; | ||
} else { | ||
return false; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (BigInt(filter.values[key]) === decodedMsgData) { | |
continue; | |
} else { | |
return false; | |
} | |
if (BigInt(filter.values[key]) 1== decodedMsgData) { | |
return false; | |
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The continue statement cannot be removed; otherwise, it will enter the next if statement where no type conversion is performed. It must return false.
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
Checklist