From f1b8e1a7b0038b402b788f31d926a2102bde6265 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sami=20M=C3=A4kel=C3=A4?= Date: Thu, 16 Jul 2020 13:20:03 +0300 Subject: [PATCH] skip empty addresses --- cmd/lotus-seed/genesis.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/lotus-seed/genesis.go b/cmd/lotus-seed/genesis.go index b85fd9113..6aa63bb6f 100644 --- a/cmd/lotus-seed/genesis.go +++ b/cmd/lotus-seed/genesis.go @@ -199,6 +199,9 @@ var genesisAddMsigsCmd = &cli.Command{ for _, e := range records { var addrs []address.Address for _, a := range e[7:] { + if a == "" { + continue + } addr, err := address.NewFromString(a) if err != nil { return err