frostfs-contract/common/common.go
Evgenii Stratonikov 6e9c770142
All checks were successful
DCO action / DCO (pull_request) Successful in 1m20s
Tests / Tests (1.20) (pull_request) Successful in 3m13s
Tests / Tests (1.19) (pull_request) Successful in 4m11s
[#50] Drop notaryless deploy parameter
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-11-07 14:56:21 +03:00

11 lines
316 B
Go

package common
import (
"github.com/nspcc-dev/neo-go/pkg/interop/util"
)
// BytesEqual compares two slices of bytes by wrapping them into strings,
// which is necessary with new util.Equals interop behaviour, see neo-go#1176.
func BytesEqual(a []byte, b []byte) bool {
return util.Equals(string(a), string(b))
}