ONR-01 | Incomplete Workflow of Function OnRecPacketWhitelistConvert()
#3169
Labels
Medium
A Medium level security issue or medium level priority
Peggy Team
Peggy team task
Peggy2 Audit - Sifnode Issue
Issue that came out of the Peggy2 audits that requires remediation by Sifnode
Peggy 2.0
An issue blocking the Peggy 2.0 release
Sifnode Team
Affected Files: onrecv_packet.go L57
Description
As the comment states, the non-x versions of tokens received should be registered to the tokenRegistry module to allow the following token conversion operations. Without proper token registrations, the function call on line 58 will return an error and the following tokens conversions will not be executed.
Recommendation
Recommend the Sifchian Team to complete the aforementioned workflow by validating and registering the non-x versions of tokens before further execution if necessary.
The text was updated successfully, but these errors were encountered: