fix make debug

This commit is contained in:
Aayush Rajasekaran 2020-03-06 14:31:16 -08:00
parent 7662f03629
commit 55f155a72c

View File

@ -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)
}