Make lint happy

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera
2021-02-18 15:21:31 +01:00
parent 28bed9ac54
commit b13428bf11
+7 -7
View File
@@ -229,15 +229,15 @@ func send(ctx context.Context, api sendAPIs, params sendParams) (cid.Cid, error)
return cid.Undef, err
}
return sm.Cid(), nil
} else {
sm, err := api.MpoolPushMessage(ctx, msg, nil)
if err != nil {
return cid.Undef, err
}
return sm.Cid(), nil
}
sm, err := api.MpoolPushMessage(ctx, msg, nil)
if err != nil {
return cid.Undef, err
}
return sm.Cid(), nil
}
func decodeTypedParams(ctx context.Context, fapi api.FullNode, to address.Address, method abi.MethodNum, paramstr string) ([]byte, error) {