fixing explorer node returning empty for GetNodeMetaData api (#2379)

pull/2383/head
Edgar Aroutiounian 5 years ago committed by GitHub
parent 51b3e1ba8e
commit 0185fef128
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      multibls/multibls.go

@ -17,7 +17,10 @@ type PublicKey struct {
}
// SerializeToHexStr wrapper
func (multiKey PublicKey) SerializeToHexStr() string {
func (multiKey *PublicKey) SerializeToHexStr() string {
if multiKey == nil {
return ""
}
var builder strings.Builder
for _, pubKey := range multiKey.PublicKey {
builder.WriteString(pubKey.SerializeToHexStr())

Loading…
Cancel
Save