From 55f155a72c26935670d9fb951de9aa18ac80acca Mon Sep 17 00:00:00 2001 From: Aayush Rajasekaran Date: Fri, 6 Mar 2020 14:31:16 -0800 Subject: [PATCH] fix make debug --- cmd/lotus/debug_advance.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/lotus/debug_advance.go b/cmd/lotus/debug_advance.go index 37590f26f..d4d34febf 100644 --- a/cmd/lotus/debug_advance.go +++ b/cmd/lotus/debug_advance.go @@ -57,11 +57,11 @@ func init() { return xerrors.Errorf("failed to get miner worker addr: %w", err) } - if ret.ExitCode != 0 { - return xerrors.Errorf("failed to get miner worker addr (exit code %d)", ret.ExitCode) + if ret.MsgRct.ExitCode != 0 { + return xerrors.Errorf("failed to get miner worker addr (exit code %d)", ret.MsgRct.ExitCode) } - w, err := address.NewFromBytes(ret.Return) + w, err := address.NewFromBytes(ret.MsgRct.Return) if err != nil { return xerrors.Errorf("GetWorkerAddr returned malformed address: %w", err) }