0xPolygonID / issuer-node

Polygon ID Self-Hosted Issuer Node
Apache License 2.0
83 stars 73 forks source link

add separate error variable for setLink() #642

Closed yushihang closed 1 month ago

yushihang commented 3 months ago

If only one error is used, when the first value of "err" is not nil and second value of "err" is nil, there may be a situation that "the function execution should marked as failed, but it returns nil"

x1m3 commented 3 months ago

Thanks for your contribution @yushihang . I'm going to change the destination branch to develop.