You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have encountered a bug related to the assignment unverified_providers := ev.providershere. The unverified_providers and ev.proviers both refer to the same underlying array. Later the verified key are removed from unverified_providers, here, but since the capacity of the array is still greater than length of unverified_providers, golang reuses the same underlying array instead of creating new one. This therefore modify the value of ev.Provider and remove the verified keys.
The text was updated successfully, but these errors were encountered:
I have encountered a bug related to the assignment
unverified_providers := ev.providers
here. Theunverified_providers
andev.proviers
both refer to the same underlying array. Later the verified key are removed from unverified_providers, here, but since the capacity of the array is still greater than length ofunverified_providers
, golang reuses the same underlying array instead of creating new one. This therefore modify the value of ev.Provider and remove the verified keys.The text was updated successfully, but these errors were encountered: