-
Notifications
You must be signed in to change notification settings - Fork 0
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
Redeem widget #216
Redeem widget #216
Conversation
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.
Looks good, one note though, it is difficult to do reviews when large formatting changes are included. If its possible to keep them separate that would benefit the reviews.
@@ -151,8 +151,7 @@ export class UtilsService { | |||
}); | |||
|
|||
const parsedLogs: IParsedLog[] = logs.map((log: any) => ({ | |||
tenantId: web3.utils | |||
.toAscii(log?.args?._identifier!) | |||
tenantId: fromHex(log?.args?._identifier!, 'string') | |||
.replaceAll(`\x00`, ''), |
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.
One thing I thought of here is what happens if there are zeros in the identifier that get removed?
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.
doesn't work that way for un-padded zeroes! (hopefully)
sorry about that, my editor is acting weird! |
Contains Working
Redemption Widget