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
This section of code is comparing equality of two byte slices. Is it necessary to use such a bloated package as reflect in this case? Could bytes.Equal() be used instead; especially considering that "bytes" is already included in this package and this is the only use of reflect.
The text was updated successfully, but these errors were encountered:
https://github.com/goat-systems/go-tezos/blob/master/internal/crypto/crypto.go#L96
This section of code is comparing equality of two byte slices. Is it necessary to use such a bloated package as reflect in this case? Could bytes.Equal() be used instead; especially considering that "bytes" is already included in this package and this is the only use of reflect.
The text was updated successfully, but these errors were encountered: