Skip to content

Commit

Permalink
fixing explorer node returning empty for GetNodeMetaData api (#2379)
Browse files Browse the repository at this point in the history
  • Loading branch information
fxfactorial authored Mar 5, 2020
1 parent 51b3e1b commit 0185fef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion multibls/multibls.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 0185fef

Please sign in to comment.