-
Notifications
You must be signed in to change notification settings - Fork 2
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
EX-3119-cio-disconn-event #441
base: main
Are you sure you want to change the base?
Conversation
internal/services/cio/cio.go
Outdated
if !common.IsHexAddress(userAddr.Hex()) { | ||
return fmt.Errorf("invalid ethereum_address %s", userAddr.Hex()) | ||
} |
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.
I think there's no danger of this happening. If you wanted to be really, really careful you could check that udai.R.UserDevice.OwnerAddress.Bytes
really has length 20, but I think the database will enforce that if it's populated so I think it's not too scary.
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.
okay cool, removed it in that case
Proposed Changes
Impacted Routes
Caveats