pull/874/head
Eugene Kim 6 years ago
parent efc57c47ed
commit 7991a56519
  1. 2
      core/types/shard_state.go

@ -70,7 +70,7 @@ func (pk *BlsPublicKey) ToLibBLSPublicKey(key *bls.PublicKey) error {
// CompareBlsPublicKey compares two BlsPublicKey, lexicographically. // CompareBlsPublicKey compares two BlsPublicKey, lexicographically.
func CompareBlsPublicKey(k1, k2 BlsPublicKey) int { func CompareBlsPublicKey(k1, k2 BlsPublicKey) int {
return bytes.Compare(k1[:], k2[:]) return bytes.Compare(k1[:], k2[:])
} }
// NodeID represents node id (BLS address). // NodeID represents node id (BLS address).
type NodeID struct { type NodeID struct {

Loading…
Cancel
Save